I need help with bibliographies by chapter using bibtopic with classicthesis (v4.1 LyX) with LyX (v2.0.2) under Ubuntu Linux (or a better option). I need bibliographies at the end of each chapter (as a section) in my thesis document. I read in the classicthesis example documentation (publications) that I can use bibtopic, multibib or some similar package to get multiple bibliographies. I found bibtopic as an easy option because this package doesn't requires new command definitions and also because LyX has native integration with it. I tried to use this package in my document but I have not had success.   Here are the steps I followed to try to get what I need (I have attached a  with the LyX files in order to reproduce the results):   I have one bib file for each chapter to contain the corresponding references (chap_01.bib and chap_02.bib) I configured each chapter document (chap_01.lyx and chap_01.lyx, child documents) with sectioned bibliography. Then I inserted the bibliography through LyX (Insert, List/TOC, BibTeX Bibliography) at the end of each chapter file, taking care referencing the corresponding bib file. Also I inserted some ERT surrounding the bibliography entry, as it is in the Bibliography.lyx file that come with classicthesis LyX port, to get the bibliography section title in the TOC. I configured the bibliography of my master document (ClassicThesis.lyx) with default parameters, i.e. with not sectioned bibliography because otherwise, I obtain the bibtopic error message: "Load bibtopic after hyperref when using the 'backref'".   Although I can compile and generate the pdf file with the above configuration, the cites appear as [? ] and the bibliography section (references) doesn't appear in the document.   Also, I have tried to use the bibtopic pakcage using btUnit and btSect  (through ERT) along the documents as described in the bibtopic documentation but I had not success.  Example   I would appreciate any help in getting what I need either using this package or  better option.  Thanks,  Héctor
81168
I'm really new in using biblatex, compile the sample placed in , but what I get is    1.1 Foo    Some text [B02x ].    1.2 Bar    Some text [B02y ].   Do not get the bibliography by chapters, or the global references.  Really not remains to be done   \documentclass{report}  \usepackage[style=alphabetic]{biblatex}  \addbibresource{references.bib}  \begin{document}  \chapter{First chapter}  \section{Foo}  Some text \cite{childs_temperature}.  \printbibliography  \chapter{Second chapter}  \section{Bar}  Some text \cite{hashemian}.  \printbibliography  \newpage  \printbibliography  \end{document}   And the references.bib    @BOOK{childs_temperature,   title = {Practical Temperature Measurement},   publisher = {Butterworth - Heinemann},   year = {2001},   author = {Childs, Peter R N},   address = {Great Britain},   edition = {1},   isbn = {0 7506 5080 X}   }    @PHDTHESIS{hashemian,   author = {Hashemian, Hashem Mehrdad},   title = {Measurements of dynamic temperatures and pressures in nuclear power plants},   school = {{The University of Western Ontario}},   year = {2011},   type = {PhD {T}hesis}   }   I need to obtain references by chapter and global cited references, but i don't know how compile.
73348
I wish to cite several sources at once and sort my in-text citations in a different manner to how they appear in my bibliography. I want my citations to be sorted by year and my bibliography to be sorted by author. I am using BibLaTeX with Biber. I used  to achieve this with TeX Live 2015 but since upgrading to 2016 (as well as upgrading all my packages) this does not work.  Below is a minimal working example (with a second bibliography for illustrative purposes). I wish for the citations to be sorted ascending by year (2001, 2002, 2003) and the bibliographies to be sorted alphabetically (a, b, c) and descending by year (2003, 2002, 2001) respectively, but below is an image of the result; the bibliographies stay true to the desired sorting but the citations in-text are sorted descending by year.  If I remove the last \newrefcontext then everything (citations and bibliographies) is sorted alphabetically, and if I remove both \newrefcontexts then everything is sorted ascending by year (which was the option specified when originally calling BibLaTeX). It seems that the citations follow the last sorting referenced; ynt as per BibLaTeX options when both \newrefcontexts are removed or else whatever sorting is specified in the last \newrefcontext.  I am compiling in order pdflatex, biber, pdflatex, pdflatex and am on MacTeX.  It seems this would have worked as desired in TeX Live 2015 so is this a bug or has something changed which requires the citation sorting to be set in some other way?  \documentclass{article}  \usepackage[            backend=biber,            style=authoryear,            sorting=ynt,            sortcites,            ]{biblatex}  \usepackage{filecontents} \begin{filecontents}{lib.bib} @article{test1,   author = {b},   title = {b},   year=2003, } @article{test2,   author = {c},   title = {c},   year=2001, } @article{test3,   author = {a},   title = {a},   year=2002, } \end{filecontents}  \addbibresource{lib.bib}  \begin{document}      Hello World! \parencite{test1,test2,test3}      \newrefcontext[sorting=nyt]     \printbibliography      \newrefcontext[sorting=ydnt]     \printbibliography  \end{document}     Edit  I have a workaround but it's super crap: Typeset the document with global sorting=ynt, copy the pdf to another file, then typeset the document with global sorting=nyt; using a PDF editing tool (Apple's Preview suffices) cut the pages containing the bibliography with the desired sorting from one PDF and paste into the other. As I said super crap. I'm not sure if I'd even do this as I'd feel dirty, but it's a workaround nonetheless.  If a solution does not exist or this is a bug without a patch, then what would be similar but much better would be some kind of package (which probably doesn't exist) which only changes certain pages at a time within the PDF (while still actually 'compiling' the whole document so that all the citations are done). It might look something like:  % document preamble % ...  \usepackage{onlychange} \onlychangerange{10,12}  % Bibliography found on pages 10--12 % On next compilation will typeset all pages except 10--12  % ...   It's a long shot but maybe someone knows of such a package or this rambling has inspired an actual solution.
39334
I'm having trouble using labels and cross-referencing in Lyx.  I put a label into the document where I want it.  It is not embedded in anything, it's just in the text.  Then I put a cross-reference to link it at a different point in the paper.  When I make the pdf, the cross-reference does not go to the link but rather to the top of the section it's in.  What going on?  However, within Lyx, whenever I use the (Navigate Bar -> Other Lists -> Labels and References) then the reference appears to work fine.  It's just not working in the pdf..  What could be the problem?  Thank you in advance!
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.
82584
I'm trying to use a bibliography created using BibDesk in my LaTex document. To this extend I have the following (simplified) document:  \documentclass[12pt]{article} \usepackage{fontspec} \usepackage[style=mla,backend=biber]{biblatex} \addbibresource{Bibliography.bib} \setmainfont{Times New Roman}  \begin{document}  Pulitzer Prize-winning \autocite{Pulitzer:2017} novel \emph{The Underground Railroad} \autocite{Whitehead:2016}.   \printbibliography \end{document}   Then I first run XeLaTeX, then Biber, then XeLaTeX twice again. The problem now is that my bibliography for some reason only displays book references, no article or misc references. Also, there is more whitespace between the references than one expects.  Switching to normal LaTex instead of XeLaTeX didn't fix the problem.  How can I solve this issue?  My bibliography is:  @misc{Pulitzer:2017,     Date-Added = {2017-05-14 12:18:29 +0000},     Date-Modified = {2017-05-14 12:27:09 +0000},     Howpublished = {\url{http://www.pulitzer.org/prize-winners-by-year/2017}},     Title = {2017 Pulitzer Prizes}}   @book{Whitehead:2016,     Author = {Whitehead, Colson},     Date-Added = {2017-05-14 11:51:16 +0000},     Date-Modified = {2017-05-14 13:45:53 +0000},     Id = {UBL{\_}ALMA21286889210002711},     Isbn = {9780385542364},     Keywords = {PS3573.H4768; PS3573.H4768 U53 2016; Underground Railroad -- Fiction; Fugitive slaves -- United States -- Fiction; United States -- History -- 19th century -- Fiction; 1800-1899; 1800-1899},     N2 = {"Cora is a slave on a cotton plantation in Georgia. When Caesar, a recent arrival from Virginia, tells her about the Underground Railroad, they decide to take a terrifying risk and escape. Though they manage to find a station and head north, they are being hunted. Their first stop is South Carolina, in a city that initially seems like a haven. But the city's placid surface masks an insidious scheme designed for its black denizens. And even worse: Ridgeway, the relentless slave catcher, is close on their heels. Forced to flee again, Cora embarks on a harrowing flight, state by state, seeking true freedom." --},     Publisher = {New York : Doubleday},     Title = {The underground railroad : a novel},     Ty = {BOOK},     Year = {2016}}
96890
I'm writing my thesis as a report document using TeXShop (pdflatex and bibtex) and want the bibliography to get its own section number and appear in the table of contents. Here's what I've tried so far and the problems arising:  \addcontentsline{toc}{section}{References}   Does not add the section number, not in the toc and naturally not in the section title.  \cleardoublepage \renewcommand*{\bibname}{\section{References}} \bibliographystyle{plain} \bibliography{bibliography}   Error: ! Incomplete \iffalse; all text was ignored after line 1.  \cleardoublepage \section{References} \renewcommand*{\bibname}{} \bibliographystyle{plain} \bibliography{bibliography}   The only problem this leaves is that this starts the actual bibliography on the next page after it inserts 2.5 References. Otherwise I would be happy with this solution. How can I solve this issue?
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?
14105
I am writing my thesis and need to do this with apa citation style.  I used the following code in my main document:  \usepackage[backend=biber,style=apa,sorting=none,natbib=true]{biblatex} \addbibresource{library.bib}  \usepackage[autostyle=true]{csquotes}    and in the end of my main document..  \printbibliography[heading=bibintoc,[title={References}]   However I always get this error:     "Undefined control sequence.   \printbibliography[heading=bibintoc,[title={References}]"   Furthermore in my references table, I get (yearmonthday) instead of (2015)e.g. and the references are not alphabetically sorted.
32698
I am working on a honours thesis and have developed a Fortran library that I would like to cite in it.  In some places they suggest to quote the documentation of the project but this is something I plan to do in the future and isn't done yet. The only documentation I have right now is the README file and the code itself.   What would be an acceptable way of directing a reader to my work on Github?  (bonus) Is there a BibTeX way to do it?
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?
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}
37933
This question was , but I think that the only answer didn't quite understand the question so I thought I'd try again. I'm writing a paper in which I need to have references show up in two places:  a special list of &quot;key references&quot; in its own section, and a bibliography containing the rest of the references that were cited in the text. I thought that bibentry would do it, so the document looks something like: \documentclass[11pt]{article} \usepackage{natbib} \usepackage{bibentry} \nobibliography*  \begin{document}  \section{Amazing idea}  Chicken chicken chicken \citep{chicken:2010fj}.  Chicken chicken, chicken \citep{turkey:2010jk}.  \section{Key References}  \begin{enumerate} \item \bibentry{lemur:2009ii} \item \bibentry{gibbon:2011jk} \end{enumerate}  \bibliographystyle{apalike} \bibliography{amazing.bib} \end{document}  Unfortunately, this doesn't quite do it, as the resulting document presents the lemur and gibbon bibentry references correctly in the &quot;Key References&quot; section, but also prints them in the bibliography at the end of the document.  Ideally, the only entries in the bibliography would be the chicken and turkey \citep references.  I'd like it to look like:  Key references  Lemur, L. (2009). Lemur, 12(4):1-7. Gibbon, G. (2011). Gibbon, 135:1002-1009.  References Chicken, C. (2010). Chicken. Chicken Press, Coop. Turkey, T. (2010). Turkey, 7(4):E231.  What it actually looks like:  Key references  Lemur, L. (2009). Lemur, 12(4):1-7. Gibbon, G. (2011). Gibbon, 135:1002-1009.  References Chicken, C. (2010). Chicken. Chicken Press, Coop. Gibbon, G. (2011). Gibbon, 135:1002-1009. Lemur, L. (2009). Lemur, 12(4):1-7. Turkey, T. (2010). Turkey, 7(4):E231.  Is there any way to achieve this with the current method, or is there some other (possibly easier!?) way to do this?
49512
Question: What steps are required to use the xr package in LyX in order to reference items in other, independent LyX documents?  Steps already taken:   The tools package (that contains the xr package) has been installed in MikTeX. The xr package has been used in the referencing document (by adding \usepackage{xr} to the referencing document's preamble). A pointer to the referenced document has been set in the referencing document (by adding \externaldocument{referenced.lyx} to the referencing document's preamble). A label in the referenced document has been cross-referenced in the the referencing document using the \ref tag.   Observed (undesired) behavior: The reference appears as "BROKEN" in the LyX editor. The PDF output shows "??" where the reference number is expected.  Relevant links:       Software used: LyX + MiKTeX + BibTeX on Windows 7  My level of Lyx/LaTeX proficiency: Beginner+
100078
For a large project, I'd like to write each chapter on it's own. After that, I'd wish (of course) to incorporate all the chapters in a base document (the large project). I've heard ob \include and \input, but they don't seem to do what I'm searching for:   Is it possible to include/input only the part between \begin{document} end \end{document} of the chapter files, so that it's possible to compile the chapter files separately (to be able to check and work on the chapter file) before compiling it in the base document? I know this would be possible by simply deleting the preample of the chapter files, but with a dozen of chapter files, I prefer an automated way (if possible). Is it possible to make references to \label and \ref between different chapters, using different chapter files?
99230
Does BibTeX (ore one of its variants) have a dictionary entry?  I have not been able to find much on this respect after a few searches on google and here.
84379
Hey I am completely lost. Despite me going to several websites and copying their commands directly, my LaTeX document refuses to generate either the citation or bibliography entry. Here is the LaTeX.  \documentclass[12pt]{amsart}  \usepackage{geometry}  \usepackage{qtree}  \usepackage{natbib}  \usepackage{cite}  \geometry{a4paper}  \title{Nominals of Modern Greek (Abstract)}  \author{Dingler, Ian}  \begin{document}  \maketitle  Important to note, is that if their are no other items in the lexical phrase, the D must appear to the left side of N i.e. *\textit{podia ta}, \citet{MG21}.  \bibliographystyle{te}  \bibliography{Syn3 Ref}  \end{document}   Here is my bib entry saved as "Syn3 Ref"  @book{MG21,         auTHor = {Brian D. Joseph and Irene Philippaki-Warburton},         YEAR = {1987},         Title = {Modern Greek},         publisher = {Biddles Ltd, Guilford and Kin'gs Lynn},         address = {Great Britain}      }   Both my .tex and .bib files are saved in the same folder yet all I get when I typeset is a ? where my citation should be and no bibliography entry what so ever.
74800
I'm using the backref package within the hyperref package:  \usepackage[backref]{hyperref}   I get the following result:  Philip Hall. On representatives of subsets. Journal of the LMS, 10, 1935. 3.2, 4.1   where 3.2 and 4.1 are hyperlinks to sections in which this bibliographic entry is referenced. Is it possible to get pages instead of sections?