I am writing my PhD thesis and I am using an adapted version of the memoir-class + IEEEtran.bst for the bibliography style.   The idea is to create a specific List of Publications exclusively with the papers of the PhD canditate. This List of Publications is divided in two sections:'pub' denoting peer-reviewed papers, and 'pubOther' for other publications. Inside the document, the command \selfcite{} is used for citations in aforementioned List of Publications.  I get errors if I use \selfcite{} INSIDE a caption, while everything works fine if it is used elsewhere.  Here I copy the error I get:  ! Undefined control sequence. &lt;argument&gt; ...@tempc }\fi \fi \def \@tempa {\@nil }\ifx \@tempa \@nnil \else... l.96 ...ncies. (Source: \selfcite{JS2009})} ?   While here I copy the piece of code describing the List of Publications and the command \selfcite  \RequirePackage[resetlabels]{multibib}  % Used for multiple bibliographies, as this class enables the use of a separate List of Publications      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % We define two 'sections' in our own List of Publications, but it can be     % % expanded as desired. Here, 'pub' denotes peer-reviewed papers (journals,    % % conferences), and 'pubOther' denote other publications (popular article,    % % invited talk, workshop, ...). Use \selfcite{&lt;key&gt;} to cite these            % % These two lists need to be separately compiled: 'bibtex pub'                % %                                                 'bibtex pubOther'           % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \makeatletter \newcites{pub}{Peer-reviewed} \newcites{pubOther}{Other} \newcommand\biblabelprefix{} \newdimen\b@belwidth \newdimen\b@b@lwidth \newcommand\setbabelwidth[1]{{%     \newbox\tmp     \setbox\tmp=\hbox{#1}%     \global\b@belwidth=\wd\tmp }} \renewcommand\@biblabel[1]{{%     \newbox\tmp     \setbox\tmp=\hbox{#1}%     \@tempdima=\wd\tmp%     \@tempdimb=\m@ne\@tempdima     \advance\@tempdimb by \b@belwidth     \rule{\@tempdimb}{0pt}[\biblabelprefix#1]% }} \def\@bibitem#1{%     \item\if@filesw         \immediate\write\@auxout{\string\bibcite{#1}{\biblabelprefix\the\value{\@listctr}}}%     \fi\ignorespaces} \renewcommand{\@fnsymbol}[1]{%     \ensuremath{%         \ifcase#1\or \dagger\or \ddagger\or         \mathsection\or \|\or \mathparagraph\or **\or \dagger\dagger         \or \ddagger\ddagger \else\@ctrerr\fi     } } \newcommand\blfootnote[1]{% Enable a footnote at begin of chapter to say e.g. parts of this chapter were published in ...      \xdef\@thefnmark{\null}     \@footnotetext{%     \hspace{-1.8em}     #1     } } \@ifundefined{@mb@citenamelist}{\def\@mb@citenamelist{cite,citep,citet,citealp,citealt}}{\relax} \def\selfcite#1{\setcitestyle{open={[\initials}}\citepub{#1}\setcitestyle{open={[}}}  \newcommand\listofpublications{{%     \small     \setbabelwidth{10}     \microtypesetup{protrusion=false}%       \renewcommand{\bibsection}{%no chapter but simply section         \section{\bibname}         \prebibhook     }        \renewcommand{\biblabelprefix}{\initials}% Add prefix to biblabel for publications     \continuouslabelstrue     \bibliographystylepub{IEEEtran2}%     \bibliographystylepubOther{IEEEtran2}%     \chapter{List of publications}     \scriptsize      \bibliographypub{IEEEabrv,\bibfile}     \bibliographypubOther{IEEEabrv,\bibfile}%        \microtypesetup{protrusion=true}% }} \makeatother   Can you please help me to find the problem? Thanks!
124070
Problem:  Getting error messages when trying to cite a reference in the figure caption. Not sure what I am doing wrong. Can't seem to find that this has been up previously either.  Minimal Working Example:  \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[pdftex]{graphicx} \usepackage{epstopdf} \graphicspath{{figures/}}  \usepackage{apacite} \bibliographystyle{apacite}  \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @article{rub14,    author = {Rubin, Jared},    title = {Printing and {Protestants}: An empirical test of the role of printing in the {Reformation}},    journal = {Review of Economics and Statistics},    volume = {96},    number = {2},    pages = {270--286},    year = {2014}, } \end{filecontents}  \begin{document} \begin{figure}[htp] \centering \includegraphics[width=\textwidth]{conceptdriven.eps} \caption{\label{fig:researchscope}The process of concept-driven design approach in relation to theory and use situation, adopted from \citeA[p.~282]{rub14}}  \end{figure}  \bibliography{\jobname}  \end{document}   Desired outcome:  The reference to be directly after the words "adopted from".
109286
I am new to this and not sure what to make of all the options available. I am interested in putting a machine-learning-related preprint, which will potentially be submitted to places like NIPS/ICLR/ICML in the future.   arXiv.org perpetual, non-exclusive license to distribute this article (Minimal rights required by arXiv.org)  Creative Commons Attribution license (CC BY 4.0)  Creative Commons Attribution-ShareAlike license (CC BY-SA 4.0)  Creative Commons Attribution-Noncommercial-ShareAlike license (CC BY-NC-SA 4.0)  Creative Commons Public Domain Declaration (CC0 1.0)
75513
This question led to a new package:      I want to reference to citations from other file. Similar to what xr package does to labels, but I want to apply it for the bibliography.  If I'm able to do \cite{someone} in the main file, and it creates let say the number [4], I want to do the same \cite{someone} in a second file, and also create the same number [4]. Similar to what xr does with the labels.  By the way, I tried to add the main.bbl file from the main file. However, that adds all the references to the end of the second file. I want to avoid this.  Is there any package that accomplish this?
50991
I am using the following syntax, with no errors or warnings. However, the journal names are still not abbreviated. I compiled the file numerous times, as well as the bibliography. Everything compiles with no errors.  The syntax:   \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,references}   Additional info: I am using BibDesk and TeXStudio on a macbook.  Do you have any idea what might be the issue? and how to solve it? Thank you.  Edit:  Example entry from the IEEEabrv file:  @STRING{IEEE\_M\_COM        = "{IEEE} Commun. Mag."}   Example entry from my references file:  @article{dai:2015,     Author = {Test, T.},     Journal = {IEEE\_M\_COM },     Month = {September}     }
91806
I would like to have multiple bibliographies (reference lists) as described in   ().   However, I'd like to use with a single .tex file, which would contain the bibliography database embedded, as in  ...   Now, I want to use letter documentclass, for which the bibliography needs to be defined ()   So what I end up is with this example (code below, compiled with just pdflatex, no bibtex(which I'd like to avoid in this case)):     ... obviously, something works (multibib recognized primary and secondary cites, assigning them number "1" as start) -- however I don't get two, separate primary and secondary list of references; would that be possible in this context? (doesn't have to be with multibib, but I'd like to avoid a separate .bib file and a bibtex call)  EDIT: I'd also like separate cite keys (i.e. rendered as [a1] and [b1]; not yet sure if multibib can do that; edit: no it cant,  says "You can also edit the .bbl files created by BibTEX and add 'a', 'b',. . . to the labels, but your changes will be overwritten by subsequent BibTEX runs." and recommends \cite[a]{key}) - how possible would that be?  &nbsp;  The code is this:   \documentclass{letter}  % Environment thebibliography undefined when using letter: http://www.latex-community.org/forum/viewtopic.php?f=4&amp;t=3359 \makeatletter \setlength \labelsep {.5em} \newcommand\newblock{\hskip   .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty \newcommand\refname{References} \newcommand\section{\@startsection   {section}{1}{\z@}%   {-3.5ex \@plus -1ex \@minus -.2ex}%   {2.3ex \@plus.2ex}%   {\normalfont\Large\bfseries}} \newenvironment{thebibliography}[1] {\section*{\refname}%   \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%   \list{\@biblabel{\@arabic\c@enumiv}}%   {\settowidth\labelwidth{\@biblabel{#1}}%     \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code     \usecounter{enumiv}%     \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}%   \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty   \widowpenalty4000%   \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty       `thebibliography' environment}}%       \endlist} \makeatother  \usepackage{multibib} \newcites{pri}{Primary sources} \newcites{sec}{Secondary sources}  \begin{document}   \begin{letter}{Addressee} Blah, blah - content...  Primary cite: \citepri{lamport94} ...  Secondary cite: \citesec{lamport94} ...   \begin{thebibliography}{9}  \bibitem{lamport94}   Leslie Lamport,   \emph{\LaTeX: A Document Preparation System}.   Addison Wesley, Massachusetts,   2nd Edition,   1994.  \bibitem{lamport95}   Leslie Lamport,   \emph{\LaTeX: A Document Preparation System}.   Addison Wesley, Massachusetts,   2nd Edition,   1995.  \end{thebibliography}  \end{letter}   \end{document}
95260
Here is a simple document:   \documentclass{article} \usepackage[%   backend      = biber,   bibstyle     = biblatex-sp-unified, ]{biblatex} \addbibresource{test.bib} \begin{document}  \cite{test}  \printbibliography{} \end{document}   Which refers to  and this simple bib file:  @article{test,   Author = {test},   Title = {test} }   This used to work. After updating my MacTeX distribution this Sunday morning and (full disclosure) doing a sudo tlmgr update --all, I now receive errors like the following:   ! Undefined control sequence. &lt;argument&gt; \bbl@main@language  l.12 \printbibliography{                         } ?   Curiously, if either the Author or Title field is missing, I don't get an error. Moreover, if I remove the bibstyle option, the error goes away. This leads me to suspect that the problem is somewhere in the bbx file linked above, but that's as far as my limited knowledge and expertise gets me.   I realize this might be a rather specific question (and I have opened an issue on the github I linked to), but perhaps there is a general issue causing the problem here, in which case others might benefit from a general solution.
37967
Hi I am trying to include references into my paper but it keeps showing the following when I compile. I am using texstudio. Message: I'm skipping whatever remains of this command The style file: plain.bst I found no database files---while reading file term paper.aux Warning--I didn't find a database entry for "Astrov"  My code is like this:   \documentclass[letter,scriptaddress,twocolumn, prl,showkeys]{revtex4}  \usepackage{amssymb, amsmath, amstext, amscd, verbatim, mathtools, graphicx, float, caption, subcaption} \usepackage[utf8]{inputenc} \usepackage{natbib} \begin{document} This is my reference\cite[1]{Astrov}. \bibliography{term paper} \bibliographystyle{plain} \end{document}   They are all in the same directory. I am really panicing about this at the moment and apologize if similar questions have been asked before. Thanks in advance for your help!
124224
I am trying to use bibtex for the first time. I am on windows 7, using TeXstudio. I am trying to follow the steps of .  I have created a .bib file, put it in the right directory and written the code in my .tex file. However, I do not know how to compile bibtex with TeXstudio (I looked around in the menus but didn't find it).   Most tutorials I found don't explain how to do it, or say to run a command, which I'm not sure how to do.  Any help much appreciated!
116608
This question led to a new feature in a package:      Many biblatex citation styles feature the \textcite command which is "intended for use in the flow of text, replacing the subject of a sentence" (manual, section 3.6.2). At the moment, this works well for citations of single works -- e.g. (assuming the authoryear style), one may write in the source  The reference work is \textcite{knuth:ct:a}.   which will be typeset as     The reference work is Knuth (1984).   Citing multiple works, on the other hand, is somewhat tedious. If one simply writes (1):  Important works are \textcite{knuth:ct:a,knuth:ct:b,markey}.   the output is rather a list than a correct sentence (2):     Important works are Knuth (1984); Knuth (1986); Markey (2005).   One has to write (3):  Important works are \textcite{knuth:ct:a}, \textcite{knuth:ct:b}, and \textcite{markey}.   to get (4):     Important works are Knuth (1984), Knuth (1986), and Markey (2005).   Can \textcite be modified so that input (1) will yield output (4), hereby achieving a tighter integration "in the flow of text"?  \documentclass{article}  \usepackage[style=authoryear]{biblatex}  \addbibresource{biblatex-examples.bib}  \begin{document}  This is how \texttt{\textbackslash textcite} currently works:\\ Important works are \textcite{knuth:ct:a,knuth:ct:b,markey}.  \bigskip  But I'd like \texttt{\textbackslash textcite} to output the following:\\ Important works are \textcite{knuth:ct:a}, \textcite{knuth:ct:b}, and \textcite{markey}.  \printbibliography  \end{document}
118328
I need to write an article with APA citations. I have sample code that works fine with style=authoryear, but if I switch to style=apa I get the following error message:   Error Line 21 ! Undefined control sequence.&lt;argument&gt; \printdateextralabel   I'm using TexMaker with biber. I've gone through example after example and I can't figure out what's wrong. I suspected it was with TexMaker or MiKTeX, but I just uninstalled and reinstalled both programs and I'm having the same issue. The same error message always pops up with the line number after \printbibliography. I tried copying corrected MWE's from other questions (such as  answered by Alan Munn) and I get the same error.  I included a MWE and my .bib file (borrowed from another thread) below.  File MWE:  \documentclass[article,12pt,letterpaper]{apa6} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=apa,natbib=true,backend=biber]{biblatex} \DeclareLanguageMapping{american}{american-apa}   \title{Annotated Bibliography 1} \author{Joe Smith} \affiliation{Spectacular University} \addbibresource{bib.bib}  \begin{document} \abstract{abstract goes here} \maketitle this is a test \cite{Kim1999188} \printbibliography \end{document}   bib:  @article{Kim1999188, title = "Absorption of water vapour into lithium bromide-based solutions with additives using a simple stagnant pool absorber ", journal = "International Journal of Refrigeration ", volume = "22", number = "3", pages = "188 - 193", year = "1999", note = "", issn = "0140-7007", doi = "10.1016/S0140-7007(98)00061-9", url = "http://www.sciencedirect.com/science/article/pii/S0140700798000619", author = "Jin-Soo Kim and Huen Lee and Sun Il Yu", keywords = "Absorption", keywords = "Water", keywords = "Lithium bromide", keywords = "Absorption", keywords = "Eau", keywords = "Bromure de lithium " }      Here is a link to my .
66442
In my document I want to create a separate bibliography for each chapter. This works fine by using the chapterbib package. However, \bibentry does not work anymore in included files when invoking the chapterbib package. The MWE shows that the full cite is present in the main document, but does not show in the chapter.  \begin{filecontents}{mytestbib.bib} @Article{einstein1911,  author        = "Albert Einstein",  title         = "On The influence of gravitation on the propagation of light",  journal       = "Annalen Phys.",  volume        = "35",  pages         = "898-908",  year          = "1911"} \end{filecontents}  \begin{filecontents}{testchap.tex} \chapter{light} A full in-text cite of \bibentry{einstein1911}.\\ A regular citation: \citep{einstein1911}. \bibliographystyle{apalike} \bibliography{mytestbib} \end{filecontents}  \documentclass{scrbook} \usepackage{filecontents} \usepackage{natbib} \usepackage{bibentry} \usepackage[sectionbib]{chapterbib} \nobibliography*  \begin{document} A full in-text cite of \bibentry{einstein1911}.\\ A regular citation: \citep{einstein1911}.  \include{testchap}  \bibliographystyle{apalike} \bibliography{mytestbib} \end{document}
13171
I have my PhD deadline on Monday and disaster has struck at the very last minute! Any assistance would be eternally appreciated.  I'm using Overleaf (v2) to write my thesis - it's a very large file tree containing multiple .tex files.  Everything was compiling fine, until I decided to experiment and use:  \usepackage{biblatex}   It compiled with this included but looked odd, so I deleted the line again. However, now it does not compile - despite the document being exactly the same as before the problem began.
76300
In the biblatex doc, it says ( Version 1.7, p.11):     thesis      A thesis written for an educational institution to satisfy the   requirements for a degree. Use the type field to specify the type of   thesis.      Required fields: author, title, type, institution, year/date      Optional fields: subtitle, titleaddon, language, note, location,   month, isbn, chapter, pages, pagetotal, addendum, pubstate, doi,   eprint, eprintclass, eprinttype, url, urldate   I would like to know if there is any "canonical" way to add the name of the supervisor(s) in a field of the .bib file (no .bbl manipulation please, I want my bibliography to be usable "as it" in several documents).  The expect result could be something like  :     Meand Myself. “A brilliant result, explained”. PhD thesis**, under the   joint supervision of Pr. Toto and Pr. Tata**. Université Paris 24,   Nov. 2013.   The "under the (joint) supervision" could be a string that would be declined in four ways:   under the supervision of  under the joint supervision of and the abridged forms
8180
In my .bib file, I have this entry:  @conference{HCS96,   title={The Virtual Cinematographer: A Paradigm for Automatic Real-time Camera Control and Directing},   author={Li-wei He and Michael F. Cohen and Davih H. Salesin},   booktitle={Proceedings of the 23rd Annual Conference on Computer Graphics and Interactive Techniques},   pages={217--224},   isbn={0897917464},   year={1996},   organization={ACM} }   When I compile my thesis, I get this entry in the bibliography:  [wei He et al., 1996] wei He, L., Cohen, M. F., and Salesin, D. H. (1996). The virtual cinematographer: A paradigm for automatic real-time camera control and directing. In Proceedings of the 23rd Annual Conference on Computer Graphics and Interactive Techniques, pages 217–224. ACM.   Why is the name of the first author produced this way?! It should rather be "He et al., 1996". Does anybody know how to fix this problem?
84616
I thought it would be useful to have bibliographic entries displayed as a tooltip so readers are not interrupted by following hyperlinks or trying to find the Bibliography, so I created the following command:  \newcommand\annocite[1]{\pdfmarkupcomment[markup=Underline,subject=Citation]    {\parencite{#1}}{\fullcite{#1}}}   Unfortunately this does not work. Instead of showing the bibliographic entry in the popup, it merely displays the citation key; i.e., the \fullcite command seems to have no effect. I believe the problem is related to argument expansion. Here is a MWE:  \documentclass{article} \usepackage{biblatex,pdfcomment,filecontents} \bibliography{\jobname}  \newcommand\annocite[1]{\pdfmarkupcomment[markup=Underline,subject=Citation]     {\parencite{#1}}{\fullcite{#1}}}  \begin{filecontents}{\jobname.bib} @article{Bli74,   author = {Blinder, Alan S.},   year = {1974},   title = {The economics of brushing teeth},   journaltitle = {Journal of Political Economy},   volume = {82},   number = {4},   pages = {887--891}, } \end{filecontents}  \begin{document} Hover over this citation: \annocite{Bli74}  The tooltip should contain the following text: \fullcite{Bli74}  \end{document}   Can anyone think of a solution, or better, a way to redefine biblatex' citation commands (e.g., \parencite, \cite) to do this automatically?
70105
When using the Springer class svjour3 (can be obtained ), I stumbled upon a problem with \cite. Look at the following minimal example:  \documentclass{svjour3}  \usepackage{todonotes}  \usepackage{biblatex} \addbibresource{references.bib}  \begin{document} \cite{test1} % \cite{test2} \tableofcontents \cite{test1} \cite{test2} \end{document}   You can use two arbitrary bib entries with keys test1 and test2 in references.bib for this.  When you compile this, both cites of test1 work, but the cite to test2 does not work. Anything of the following fixes the issue:   comment out the todonotes package, comment out the \tableofcontents, or use the article class instead of svjour3.   I checked the definition of \tableofcontents in svjour3, which is  \newcommand\tableofcontents{%     \section*{\contentsname}%     \@starttoc{toc}%     \addtocontents{toc}{\begingroup\protect\small}%     \AtEndDocument{\addtocontents{toc}{\endgroup}}%     }   Indeed, using article with this definition of \tableofcontents also fails. Any insights on what's happening here? Is this expected behavior or a bug in svjour3?
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...).