This has been stressing me out for a couple of hours now. I'm using MiKTeX 2.9 with Texmaker as the editor. I've been trying to use a .bib file as an external bibliography, which I've typed up in a text document. Every guide I've seen has said that I've needed to "run" bibtex, and they talk as if bibtex is a program, but I can't for the life of me find bibtex as a piece of software anywhere on the internet.   Here are the important parts of my main file:  \documentclass[11pt,a4paper]{article} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{comment} \usepackage{amsmath} \usepackage[ backend=bibtex, style=alphabetic, sorting=ynt ]{biblatex} \usepackage{float}  \bibliography{biblio} \addbibresource{biblio.bib}  \begin{document}  Document text here.  \printbibliography   \end{document}   And here is my bibliography:   It gives me a fair few warnings.   1: 'babel/polyglossia' detected but 'csquotes' missing.  1: 'Data encoding is 'utf8' 131: 'Citation 'EPS' on page 6 undefined (defined in the .bib file 134: 'Empty bibliography' This is the big one. Bibliography clearly not empty! 1: 'There were undefined references' 1: 'Please (re)run BibTeX on one file(s): (biblatex)diss (biblatex) and rerun latex afterwards'   I don't understand how I can "run" biblatex? Isn't biblatex the language?   What am I doing wrong?
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}
72602
I am using a Mac with TeX Live and Mendeley for automatically generating .bib files, some of which have spaces in the file names. I would like to know how to reference such files from LaTeX as using "" or \ doesn't seem to work.
51804
Because of the great answers posted around in the site, I'm finally considering to do the switch and move to biblatex. So, the question is what do I have to do?  To give the question some focus, assume that I already have a somewhat largish .bib file and a bunch of documents using natbib for my references. What do I have to change in my existing .bib and .tex files?  And what about coauthors? Would it be reasonably simple to instruct them how to work with the new documents using biblatex? Do they have to install new software/packages as well?
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!
77508
I have used quite some time searching for a solution to my compile problem. The document worked fine untill yesterday. After adding some new references, compiling stoped working properly. I have however used latex only for a few months, so the error might be an easy fix.   My error code in the blg file is:    [836] Utils.pm:209&gt; ERROR - BibTeX subsystem:  C:\Users\andre\AppData\Local\Temp\yb9w7ETEpQ\thesisbiblo.bib_16800.utf8,  line 1375, syntax error: found ",", expected one of: number, name (entry  type, key, field, or macro name), end of entry ("}" or ")") or quoted string  ({...} or "...").    I have biber 2.11 and miktex 2.9 and thought it could have been the cache file as suggested in a previous thread with 2.11 versions, but it did not do the trick to delete that either.  Thanks  This is how my "main" document looks like:  \documentclass[man,12pt,a4paper,babel,english]{apa6}  \usepackage{babel,duomasterforside} \usepackage[utf8]{inputenc} \usepackage[hidelinks]{hyperref}  % Math syntax  \usepackage{siunitx} \usepackage{upgreek} \usepackage{gensymb} \usepackage{amsmath} \usepackage{mathtools} \DeclarePairedDelimiter{\abs}{\lvert}{\rvert}  % Figures \usepackage{graphicx} \graphicspath{{Figures/}} \usepackage{float} \usepackage{subcaption}  % Biblography and citing \usepackage[style=apa,backend=biber,sortcites=true,sorting=nyt,autocite=inline,uniquename=false]{biblatex} \addbibresource{thesisbiblo.bib}  % Frontpage \usepackage{pdfpages}   \begin{document}  % Frontpage      \includepdf[pages=1-]{titlepage.pdf}  % Abstract \input{Abstract} \newpage  % Table of contents \tableofcontents \newpage  % Document \input{Introduction.theory} \newpage \input{Methods} \newpage \input{Results} \newpage \input{Discussion} \newpage \input{Conclusion} \newpage  % References                         \printbibliography  \end{document}
28956
A lot of people write makefiles that say something like  paper.pdf: paper.tex         pdflatex paper         bibtex paper         pdflatex paper         pdflatex paper   To handle re-running TeX to get new/changed references and so forth. Is there a better way to do this?
41727
I am migrating across laptops. In my old laptop I have a .tex file which works just fine. However, when I use the same .tex and compile it in a new laptop in which I just installed the proTeXt system, it does not create the bibliography, and I get the message:  Process started: bibtex.exe "DTAGissues"  This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit) The top-level auxiliary file: DTAGissues.aux I couldn't open style file natbib.bst ---line 37 of file DTAGissues.aux : \bibstyle{natbib  :                 } I'm skipping whatever remains of this command I found no style file---while reading file DTAGissues.aux (There were 2 error messages)  Process exited normally   So, there seems to be a problem with natbib, but I don't understand it, as everything was working fine in my previous system. I use the lines below to include the bibliography:  %include the bibliography \bibliographystyle{natbib} \addcontentsline{toc}{section}{References} \bibliography{C:/ctr/MainBibFile}   What might I be doing wrong here?  I actually manege to make it work if I copy file natbib.bst into the folder where my .tex is, but that seems a patch rather than a solution? I tried adding natbib.bst to texmf folder but that does not work.
42625
I was unable to find a previous post about this - perhaps too simple? I just came across the BibTeX and am trying to use it with an EndNote library. I have exported to the .bib file (which looks good as far as I can tell), but no bibliography is printed and the references aren't being cited. Obviously there is something major missing.  My document looks as follows.  \documentclass[11pt, fceqn]{article} \usepackage{epsfig} \usepackage{setspace, titlesec, caption, floatrow}    \usepackage{amsmath, amssymb, amsfonts, amsthm, cite, mathtools, lineno, subfig, natbib}  \begin{document}   Some text \cite{Alo_1}.  \bibliography{bib} \bibliographystyle{plain}  \end{document}   Any thoughts would be greatly appreciated.
11527
I think I've read all posts concerning this issue and a solution might have been provided but I don't understand it. Here is the full story. I export my bibliography file from Zotero (I tried everything BibTex, BibLaTex, UTF-8 and Western, all possible combinations). I work in Texniccenter editor. I would like to use biblatex (the example is not full, it's a thesis normally, so too long). Here is my code: \documentclass{book} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{csquotes} \usepackage[backend=biber]{biblatex} \addbibresource{bibli} \title{YYY} \author{\textsc{ZZZ}} \date{\today} \begin{document} \maketitle \frontmatter \tableofcontents \chapter{Introduction} \mainmatter \part{State of the art} \chapter{blabla} L'intérêt pour l'activité d'abattage a été étudié à plusieurs reprises en sciences sociales. Toutefois, la condition animale en elle-même y est très peu abordée, sans doute parce que les acteurs de terrain eux-mêmes la considère comme un non-sujet \cite{muller_a_2008}. \printbibliography \addcontentsline{toc}{chapter}{Bibliographie} \end{document}  Here is a part of my bibliography file: @book{muller_a_2008,     address = {Paris; Versailles},     title = {{\'A} l'abattoir: travail et relations professionnelles face au risque sanitaire},     isbn = {978-2-7351-1170-1 978-2-7592-0051-1},     shorttitle = {{\'A} l'abattoir},     language = {French},     publisher = {{\'E}ditions de la Maison des sciences de l'homme ; {\'E}ditions Quae},     author = {Muller, S{\'e}verin},     year = {2008},     note = {OCLC: 262718567} }  Probably the answer is simple, but I am quite new, and yes, I really read a lot of documentation, without finding anything useful. I also tried to change the settings of output profile (use biber instead of bibtex) but it did not work. Problem might come from Zotero? If so how to know where cause my file is super long?...
103148
A couple weeks ago I didn't have any issue when using Bibtex on a document where the different parts were included with \include commands, but today I updated Miktex, and now it seems not to work anymore. Now when I compile the main document I get an error message that says  I couldn't open auxiliary file section.aux ---line 3 of file test.aux : @input{section.aux : } I'm skipping whatever remains of this command  Here's a minimal (non)working example : my main file &quot;test.tex&quot; is just \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \begin{document} \include{section} \bibliography{reference} \bibliographystyle{plain} \end{document}  where the file &quot;section.tex&quot; is just \section{My section} I need to test the citations, so see \cite{A}.  and the file &quot;reference.bib&quot; just contains one reference. It works like a charm if I add the section directly or if I \input it, but with \include it just gives the error message as above. I tried with different editors (Texniccenter, Texmaker, Texstudio and Texworks) and it seemed to have the same issue each time. What is causing this problem ? P.S. I've looked at an old version of my document that used to work, and I've noticed a difference in the .aux files : the old version has, near the beginning, a line \bbl@cs{beforestart}  whereas in the newer versions it seems that this line has become \@nameuse{bbl@beforestart}  I'm not sure it's related or if it makes any sense, but I thought I'd add it in case it made a difference.
14210
I'm trying to make latexmk works with XeLaTeX and biber for my thesis. The document will have many cross references. What settings do I need to ensure it works correctly? My current settings for latexmk are below.  -e  $pdflatex=q/pdflatex -synctex=1 %O %S/ -pdf $fullname
80079
I'm trying to put a bibliography in my LaTeX document, but I get various errors when I run it in BibTeX (saying no \citation found etc.), and no bibliography is printed in the PDF when I typeset it in LaTeX. My code reads as follows:  \documentclass[12pt]{report} ... \usepackage{biblatex} \addbibresource{SUSYBib.bib} ... \begin{document} ...\cite{1}... ...\cite{2}... \nocite{*} \printbibliography \end{document}   And my .bib file reads as  @book{1, title={The Schrödinger Equation}, author={F. A. Berezin, M. A. Shubin}, year={1983}, publisher={Moscow State University, Moscow}, pages={57-59} } @book{2, title={An Introduction to Measure Theory}, author={Terence Tao}, year={2011}, publisher={American Mathematical Society}, pages={91} }
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.
91700
I am using the following:   \documentclass[a4paper, 11pt]{article} \usepackage[english,swedish]{babel} \usepackage{graphicx} \usepackage[T1]{fontenc} \usepackage{xcolor,colortbl} \usepackage[backend=bibtex,style=mla]{biblatex}  \nocite{*}  ...   \begin{document}  text... \footcite{source}  \printbibliography[heading=none]   \end{document}   Why is there's an extra "print" after each source?
118141
Too often I messed with bad formated BibTeX files from references databases that are infected with active characters  as % or &amp; (usually in the abstract, that is not printed but produce an error anyway) but I can live with this inconvenient and replace those by with \% or \&amp;.   Also with some input encoding errors due to some UTF8 character that cannot be managed by pdflatex. In references this error is more disturbing that in the main text, but in best cases, is only change some greek letter as γ. In others is the insidious zero width U+200B, but with I can search and replace even this character.    The worse for me is the obnoxious U+301, specially when is not in over a consonant but hiding in vowels as normal acute characters, that are perfectly managed using inputenc, i.e., the   normal e character (U+0065) plus U+301 look exactly like the kind é (U+00E9) and so on with á, Á, í, etc., so if is hard detect the poisonous diacritic mark.   Disappointingly, search U+0065 plus U+301 find also the single character U+00E9 and vice versa in some editors, so I ended with the pain of searching &amp; replacing every accented letter (single or double) with the single character versión.    So the question is specifically is: There are clevers ways to sanitize .bib files with U+301 tildes?   (Of course, a more general answer, covering some automagic cleaning of all unrecognized and active characters will be welcome.)  The minimal (not) working example:   \documentclass{article} \begin{filecontents}{test.bib} @article{xx, author={González, M. and Ruíz, P.} title={Mañana hará calor &amp; bochorno con un 90% de humedad} }    \end{filecontents} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \begin{document} Hello  \cite{xx} \bibliography{test} \bibliographystyle{plain} \end{document}
61988
I have a problem very similar to the question being asked in  . My .bib is references in main.tex. When compiling main, everything works like a charm. Working on the subfiles, I have two issues though (which are most likely related):   I can't access the bib with auto-completion When compiling the subfile, it doesn't insert the citations.   I tried including  \bibliographystyle{plainnat} \bibliography{mybib}   in the subfiles, which also worked smoothly. Obviously, the bibs are included in every chapter of the document when compiling main.tex, then. I tried setting a global boolean in main.tex:  \newboolean{printBibInSubfiles} \setboolean{printBibInSubfiles}{false}    and in the subfiles:  \ifthenelse{\boolean{printBibInSubfiles}}    {}    {\bibliographystyle{plainnat}     \bibliography{../betterbib.bib}}    For some reason, then setting the boolean to false, the "bibliography"-header was printed in the subfiles as well as for the main file, but there was no output of citations under any of the "bibliography"-headers. Furthermore, compiling only the subfiles didn't work correctly.  My document structure is the following:  main.tex:  \begin[document] ... \subfile{sub/dataprocessing} ... \bibliographystyle{plainnat} \bibliography{mybib} \end{document}   the subfiles:  \documentclass[../main.tex]{subfiles} \begin{document} ... \cite{Random2014} ... \end{document}   After all this explanation: the only thing I want is to access the .bib from the subfiles without having to manually uncommenting something when compiling the main file. Any takers?  PS: Obviously, I also tried the solution provided in "" but couldn't get it to work. I don't know whether that would solve my problem anyway, since I don't have the \printbibliography-issue of the thread opener.
20573
Normally, LaTeX will only create references for the BibTeX entries cited in the text. Is there a way of extracting these entries into a different .bib file automatically? For example if I have a .bib file with two entries, and only one is cited in a particular text, I need a way of creating a new .bib file with just that reference.