I need to prepare a manuscript according to APA 6th style. I tried using the apa6 class and biblatex for document style and references respectively. The citations within the contents are not coming out properly, and the bibliography is not printed (despite using the \printbibliography command). Please advise what is wrong. My code is given below:  \documentclass[12pt,biblatex]{apa6} \usepackage[british]{babel} \DeclareLanguageMapping{british}{british-apa}  \usepackage{filecontents} \begin{filecontents*}{soccer.bib}  @book{kuper2012,   title={Soccernomics: Why England Loses, why Spain, Germany, and Brazil win, and why the US, Japan, Australia, Turkey - and even Iraq - are destined to become the kings of the world's most popular sport},   author={Kuper, Simon and Szymanski, Stefan},   year={2012},   publisher={Nation Books, New York}  } \end{filecontents*}  \addbibresource{soccer.bib}  \begin{document} Soccer is one of the most popular sports in the world \parencite{kuper2012}. \printbibliography \end{document}
111
I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}
970
From time to time, I need to typeset Welsh. Sometimes, I need to typeset citations and bibliographies in Welsh. I think that last time I did this, I may still have been using BibTeX although I am honestly not sure. In any case, my entire work-flow now uses biber and biblatex...  I found  on changing the names of things, including the names of things used by biblatex. However, that cannot deal with the case of an unsupported language.  Suppose that I want to typeset a document in Welsh:  \documentclass[a4paper,welsh]{article}  \usepackage{babel} \usepackage[utf8]{inputenc}% welsh needs utf8x but biblatex doesn't like it \usepackage[T1]{fontenc}% not great for Welsh but the best pdfTeX can do \usepackage{csquotes}% doesn't like Welsh though biblatex likes csquotes on account of babel... \usepackage[backend=biber]{biblatex} \bibliography{biblatex-examples}  \title{Fy Nogfen} \author{Rhywun}  \begin{document}   \maketitle   \tableofcontents   \section{Cyntaf}   \autocite{westfahl:space}    \printbibliography  \end{document}   There are multiple problems in such a case. (One is that I need utf8x but can't use it on account of biblatex. Another is that I need utf8x at all. Another is that biblatex likes csquotes but csquotes doesn't do Welsh. But these are irrelevant to this question.)  The output is as follows:    Note that the use of the English citation is just so this is easy to reproduce. Obviously, the content of the reference might well be in Welsh. (Though it might be in English, too.)  As can be seen, while elements of the document controlled by babel are handled correctly, those under the control of biblatex are not. However, I cannot simply modify the solution offered by lockstep for changing strings to customised English variants. That is, I can't just use a Welsh version of  \DefineBibliographyStrings{english}{%   bibliography = {Works Cited},   references = {Works Cited}, }   because biblatex has never heard of it.  What is the most appropriate way to configure biblatex for use with an unsupported language?
87071
I am using one .bib files and need to create multiple bibliographies for each chapter + one global one in the end, using biblatex (biber). Everything works smoothly with the multiple bibliographies using refsection, however, I fail to create the global biblio.  I found a very similar problem here:  - however the solution   \nocite{*}   does not work for me as I need only those references cited (my .bib file is very large.  My example:  \usepackage[refsection=chapter, style=authoryear-comp,natbib=false,mcite=false,backend=biber]{biblatex} \addbibresource{refs.bib} \begin{document}  \begin{refsection} blabla \cite{} \printbibliography[heading=subbibintoc] \end{refsection}  % and now the global one that should include all previously cited documents  \printbibliography[heading=bibintoc]  \end{document} \begin{refsection} blabla \cite{} \printbibliography[heading=subbibintoc] \end{refsection}   It does neither produce a global biblio nor an entry in the toc.
20147
I'm facing a problem with biblatex citation order.  Using this configuration:  \documentclass {article} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \hyphenation{es-ta-bi-li-da-de} \usepackage{setspace} \singlespacing \usepackage[natbib=true,style=numeric]{biblatex} \addbibresource{frameworks.bib}   Being frameworks.bib this:  @Article{JONHSON88, author = {Ralph Johnson, Brian Foote}, title = {Designin Reusable Classes}, journal = {Journal of Object-Oriented Programming SIGS}, year = {1988}, key = {Johnson:88}, volume = {1}, number = {5}, pages = {22-35}, month = jun }  @book{UML-F:00, author = {Fontoura M., Pree W., Rumpe B.}, editor = {Addison-Wesley}, title = {The UML Profile for Framework Architectures}, year = {2000}, }   The PDF is generated with a text like:  Something about something[4], and moo foo other children[1].   This citation [4] is the first in all text. How can I order this correctly to [1]...[2] ...?
37134
I'm having trouble getting basic APA bibliographies to work. The same thing works with nejm style, but changing the style to apa gives errors:  ! Undefined control sequence. &lt;argument&gt; \mkbibdateapalongextra  {year}{month}{day}\iffieldundef {endyear}{...  Package biblatex Warning: Macro 'name:apa:last-first' undefined. (biblatex)                Using \newbibmacro.  Package biblatex Warning: Macro 'name:apa:first-last' undefined. (biblatex)                Using \newbibmacro.   I'm using texlive 2012, as you can see I'm using biber, yes, I reran biber, and also tried delting the .bbl file and rerunning tools. My source markup is:  \documentclass[12pt]{article}  \usepackage[hidelinks]{hyperref} \usepackage[backend=biber,style=apa]{biblatex}  \addbibresource{BibResource.bib}  \begin{document}  test\parencite{ormrod2004human}  \clearpage  \printbibliography  \end{document}
113434
I am building a bibliography using biblatex and biber (\usepackage[backend=biber,minnames=2,backref,firstinits,sortcites]{biblatex}) with a lot of cited papers. Therefore I often have the case of a journal name, volume, issue, month and year, all necessary.   Now the strange thing is, if I have a bibitem such as:  @article{item,   title = {Some Nice Scientific Title},   author = {Doe, Jane},   journal = {Important Journal},   volume = {50},   issue = {20},   pages = {1877--1879},   year = {1984},   month = {Jun},   publisher = {Important Society},   doi = {00.0000} }   the bibliography looks like this:    Can you spot it? The issue number 20 is in the brackets with the date. Now it looks like it is the day in the date.  So, how do I get around this?  Here's the full MWE:  \documentclass{scrartcl}  \usepackage[backend=biber,minnames=2,backref,firstinits,sortcites]{biblatex}  \usepackage{filecontents} \begin{filecontents}{item.bib}   @article{item,     title = {Some Nice Scientific Title},     author = {Doe, Jane},     journal = {Important Journal},     volume = {50},     issue = {20},     pages = {1877--1879},     year = {1984},     month = {Jun},     publisher = {Important Society},     doi = {00.0000}   } \end{filecontents}  \addbibresource{item.bib}  \begin{document}  \printbibliography[title = {References},heading=bibintoc] \nocite{*}  \end{document}
32578
I have a question that has been answered a few times, but does not work for me (and also not for another commenter in a previously asked question).   I want to remove the parenthesis around the yead in the bibliography with biblatex style authoryear, and ideally also add a comma and space before it. I have looked at the following questions:        I use biber 2.10 and TexLive 2017/W32Tex.  This MWE should work according to the question v2 above, but does not work for me, i.e. the output is still Author, Anne (2001a). Alpha. The output I need is Author, Anne, 2001a. Alpha.  \documentclass{article}  \usepackage[style=authoryear,dashed=false]{biblatex} \usepackage{xpatch,filecontents}  \begin{filecontents}{\jobname.bib} @misc{A01,author={Author, Anne},year={2001},title={Alpha}} @misc{A02,author={Author, Anne},year={2001},title={Beta}} \end{filecontents} \addbibresource{\jobname.bib}  \xpatchbibmacro{date+extrayear}{%   \printtext[parens]% }{%   \setunit*{\addperiod\space}%   \printtext% }{}{}   \begin{document} \nocite{*} \printbibliography \end{document}
6385
How do you produce a document with citations (\citep, \citet) working properly in the paper but without a bibliography at the end?  I've come up with one solution that is bad because it breaks my makefile.  latex file.tex bibtex file # comment out \bibliography{} command latex file.tex   Similarly, is there a way to produce the bibliography with no accompanying text?  Again, I've come up with a solution: fill an otherwise blank .tex file with \nocite{} commands.  However, this is a pain because I have to keep two files synced by hand (and regular expressions to search for \citep{author1, author2} can be a huge pain when there are pagebreaks...).
78568
He is my issue: I need to keep many documents (CV, research statement, research projects, list of abstracts, etc.) updated and ready to be sent for applications, sometimes in quite a rush. However, depending on the place I send them to, the language change, and I keep translating again and again in one way or the other. I want to avoid it, and to stop juggling between many basically copies of the same content. Is there a way to define a &quot;mode&quot; (say &quot;English&quot; or &quot;German&quot; or &quot;French&quot;), to write in a single file the content in both languages, e.g. \english{2020-2023: PhD student} \german{2020-2023: Doktorand} \french{2020-2023: Étudiant doctoral}  and to define at the top of the document the mode, e.g. \mode{english}  so that the printed pdf will consider only the required language entries (here, English)? Basically, I will of course need to keep doing the translations and writing them, but it will be much more convenient to do for each bit of content that needs to be updated rather than rechecking the whole document to see if it is indeed the last version every time. I would like it to be robust enough to e.g. keep working with beamers, moderncv, or any class or environment already existing.
57047
I know how to create a bibliography of the MLA style manually:  \begin{thebibliography}{9}   \bibitem{Poz}     Pozrikidis, C. \emph{Boundary Integral And Singularity Methods For Linearized Viscous Flow}. Cambridge [England] : Cambridge University Press, 1992. Print.  \end{thebibliography}   The link about BibTeX gives the following description:     If a document references this handbook, the bibliographic information may be formatted in different ways depending on which citation style (APA, MLA, Chicago etc.) is employed. The way LaTeX deals with this is by specifying \cite commands and the desired bibliography style in the LaTeX document.   It does not mention how can the bibliographic information be formatted in different style.  Question: How can I create the bibliography automatically with  with the same ? (Window Vista, MiKTeX, WinEdt 6.0)  [EDITED: ]Are there other ways to create the bibliography in MLA style in LaTeX?
49245
I'm using biblatex and I have it set up like this:  In my bib file I have 3 sorts of entrys, online, booklet, and book.   And in my thesis I want them printed separate like this:  \printbibliography[heading=subbibliography,title={Books},type=book, nottype=url, nottype=booklet, nottype=online] \printbibliography[heading=subbibliography,title={Websites},type=online, nottype=book, nottype=booklet, nottype=url] \printbibliography[heading=subbibliography,title={Misc},type=booklet]   For some reason this won't work, it still puts the websites where the books should be. And vice versa. The booklet thing does work though, it only shows my booklet entries there.  I recently started using biblatex so this might be a stupid question.
100213
I only recently started using Latex for my university documents and for my current one I am using a template provided by them.  I am using bibtex to manage my sources. Here is an example bibtex-entry:  @misc{webpage1,    shorthand = {CompanyName},    author = {Company Name Ltd.},    title="The company's webplatform",    howpublished = "\url{http://company.com/}",    lastchecked = {01.01.2013},    year = 2013 }  @misc{webpage2,    shorthand = {OtherCompanyName},    author = {Some other Company Name Ltd.},    title="Another company's webplatform",    howpublished = "\url{http://other-company.com/}",    lastchecked = {01.01.2013},    year = 2013 }   In my Latex document I use the following code to create a bibliography:  \bibliography{references}    % this causes the references to be listed (file: references.bib) \bibliographystyle{alpha}   My problem is now that when I compile my document, the result is that the bibliography has the following format:  [Ltd13a] Full Company Name Ltd. [Ltd13b] Some Other Company Name Ltd.   I already tried putting a comma between the name and the Ltd. like so:  author = {Company Name, Ltd.}   but this results in this  [FC13a] Ltd. Full Company Name   I have read that shorthand is supposed to help, but I did not succeed.
68705
I am having some trouble getting a modular document to work.  This is what my files look like at the moment     ./rootdoc.tex      ./tex/childdoc.tex      ./bib/bibliography.bib   the files look like...     ./rootdoc   \documentclass{book}     %some packages     \usepackage{subfiles}     \usepackage[colorlinks=true]{hyperref}     \usepackage[backend=biber,style=numeric]{biblatex}         \addbibresource{bib/bibliography.bib}  \begin{document}         \subfile{tex/childdoc.tex}         \printbibliography[heading=bibintoc]     \end{document}      ./tex/childdoc   \documentclass[../rootdoc.tex]{subfiles} \begin{document} \chapter{Sample Chapter} some text that i have to cite\cite{ross} \printbibliography \end{document}   When compiling the root document everything works fine and I get the following    But when I compile .\tex.childdoc I get    Any help will be greatly appreciated.
69955
Say I use a bibliography file in my document, relying on Biblatex and Biber for citation management.  Given a citation command such as \cite{A, B, C} (or any other standard Biblatex citation command), I'd like the resulting citations to be typeset differently depending on whether a given field (e.g. the author field) in the corresponding bibliography entry contains a given string (e.g. someone's lastname).   Besides, I'd like to generate two different bibliography sections in the resulting document, depending on the same condition as above.  Typically this would be used to differentiate, both at the citation level in the main text and in the appendix, the publications that I co-authored from others.  EDIT: adding a MWE:  \documentclass{article} \usepackage{filecontents} \usepackage[backend=biber,style = alphabetic]{biblatex} \usepackage[colorlinks=true, breaklinks, allcolors = blue]{hyperref} \DeclareSourcemap{%   \maps[datatype=bibtex]{%     \map{%       \step[fieldsource=author, match=Doe, final]%       \step[fieldset=keywords, fieldvalue=doe]%     }%   }% } \begin{filecontents}{\jobname.bib} @Book{p1,   author =       "A. U. Thor and John Doe",   title =        "A Scientific Article 1",   year =         "1975"   } @Book{p2,   author =       "John Doe",   title =        "A Scientific Article 2",   year =         "1985"   } @Book{p3,   author =       "Joe Bar",   title =        "A Scientific Article 3",   year =         "1995"   } @Book{p4,   author =       "Jane Baz",   title =        "A Scientific Article 4",   year =         "2005"   } \end{filecontents} \addbibresource{\jobname.bib} \begin{document} % Requirement 1: should make citations of Doe bold In \parencite{p4, p1, p2, p3}, ``TD75'' and ``Doe85'' should appear in bold (the semicolon should remain plain).  % Requirement 2: separating bibliographies. IT WORKS. \section{Co-authored Publications} \nocite{*} \printbibliography[keyword=doe,heading=none]  \section{Other Publications} \nocite{*} \printbibliography[notkeyword=doe,heading=none]  \end{document}
78363
The question I want to ask is related to the answer of this question:  .   My aim is to separate my bibliography into two parts : one part for a personnal bibliography, and a second one for the regular bibliography.  To do that, I use the technique of the post I cited :  \documentclass{article} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[style=alphabetic,maxnames=6,natbib=true]{biblatex} \bibliography{biblatex-examples}  % Variants of each could be added \newcommand{\firstname}{Donald~E.} \newcommand{\lastname}{Knuth}  \DeclareBibliographyCategory{byname}  \DeclareIndexNameFormat{byname}{% Test could be refined   \ifboolexpr{ test {\ifdefstring{\lastname}{#1}}            and test {\ifdefstring{\firstname}{#3}}               } {\addtocategory{byname}{\thefield{entrykey}}} {}}  \AtDataInput{%   \indexnames[byname]{author}}  \begin{document}  \section{Knuth's books}  \begin{refsection}  \nocite{*}  \printbibliography[category=byname,heading=none]  \end{refsection}  \section{Not Knuth's books}  \printbibliography[notcategory=byname,heading=none] \end{document}   The problem is that only the second bibliography appears, and when I remove the refsection, then all the bibtex entries of my input files are printed, separated as they should.  EDIT: the aim is to have all publications (even the ones not cited) by author knuth in the first section and all the other cited publications in the second one.
101542
This is my first post here, but long time lurker as they say. Here is my problem: When citing an @incollection in biblatex-apa, I am getting the volume editor's(s') name(s) printed twice in the reference list. MWE:      %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode %TC:incbib \documentclass{article} \usepackage{polyglossia}  \setdefaultlanguage[variant=american]{english} \usepackage{csquotes} \usepackage[style=apa, backend=biber]{biblatex}  \usepackage{filecontents} \begin{filecontents}{mwe.bib} @incollection{Turing1954,     Author = {Turing, Alan},     Booktitle = {The Essential {Turing}: Seminal Writings in Computing, Logic, Philosophy, Artificial Intelligence, and Artificial Life plus The Secrets of Enigma},     Crossref = {Turing2004},     Origdate = {1954},     Pages = {576-595},     Title = {Solvable and Unsolvable Problems}, } @collection{Turing2004,     Date = {2004},     Editor = {Copeland, B. Jack},     Location = {Oxford},     Publisher = {Oxford Univeristy Press},     Shorttitle = {The Essential {T}uring},     Title = {The Essential {T}uring: Seminal Writings in Computing, Logic, Philosophy, Artificial Intelligence, and Artificial Life Plus the Secrets of Enigma},} \end{filecontents}  \addbibresource{mwe.bib}  \begin{document} \nocite{*} \printbibliography \end{document}   This gives me the following result, when compiled with Biber 2.14; XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019); BibLaTeX 3.14; BibLateX-APA 9.2; and csquotes 5.2j. The editor's name given once in brackets and again without brackets:   How can I get rid of the name in the brackets? Any help will be appreciated!
65443
I need to cite master thesis and the lecture notes into a document. But the problem with @masterthesis and @unpublished citations is they don't print an institution name in the pdflatex output of bibliography.   `\documentclass{article}   \usepackage{filecontents}  \usepackage[ backend=biber, style=numeric, sortlocale=de_DE, natbib=true, url=true,  doi=true, eprint=false ]{biblatex} \addbibresource{bibliography.bib}  \begin{filecontents}{bibliography.bib} @masterthesis{bhgt, title={Bike Model}, author={Fris}, year={2016}, school={University A}, address={XXX} } @unpublished{Map, title = {Electrical Engineering Book}, author={Koch}, howpublished = {Lecture Notes}, Institution= {University B}, year = {2015} } } \end{filecontents}  \begin{document}  Citation Test:  \cite{bhgt} and \cite{Map} \printbibliography  \end{document}`   I get this bibliography output:         [1] Fris. Bike Model. XXX, 2016.   [2] Koch. “Electrical Engineering Book”. Lecture Notes. 2015.       Any suggestions, how we can also print an institute name?