2

This question already has an answer here:

Can anybody simply tell me how should I use BibTeX in TeX Live 2013? I saved my references in a .bib file and I write the following in my .tex file:

\documentclass{article}
\begin{document}
\bibliographystyle{plain}%Choose a bibliograhpic style
%
author~\cite{Meyer2000}.
%
\bibliography{Master}
\end{document}

What I should do afterwards?

I compile it with BibTeX and PDFLaTeX but it does not help.

marked as duplicate by Andrew Swann, Svend Tveskæg, Claudio Fiandrino, Martin Schröder, ChrisS Feb 25 '14 at 9:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    The correct sequence is: latex file.tex, bibtex file.aux, latex file.tex, latex file.tex. (Note that the extensions .tex and .aux are not strictly necessary, but are implied and thereby used even when you omit them. And of course, you can use any of the following commands in place of latex: latex (produces .dvi by default), pdflatex (produces .pdf by default), lualatex, or xelatex -- these last two require the use of a slightly different preamble from 'regular' LaTeX.) – jon Feb 21 '14 at 20:12
  • Use example files from andy-roberts.net/writing/latex/bibliographies Download bib.tex and sample.bib to a folder. Run pdflatex bib-> bibtex -> pdflatex bib-> pdflatex bib from that folder with proper sequence to get bib.pdf – texenthusiast Feb 21 '14 at 20:25
  • @jon made an answer with your comment, hope it's ok – texenthusiast Feb 25 '14 at 3:23
  • @texenthusiast -- No problem! – jon Feb 25 '14 at 3:44
  • Isn't this essentially the same as tex.stackexchange.com/questions/63852/…? – Joseph Wright Feb 25 '14 at 8:43
1

As Jon has pointed out in his comment.

The correct sequence is: latex file.tex, bibtex file.aux, latex file.tex, latex file.tex. (Note that the extensions .tex and .aux are not strictly necessary, but are implied and thereby used even when you omit them. And of course, you can use any of the following commands in place of latex: latex (produces .dvi by default), pdflatex (produces .pdf by default), lualatex, or xelatex -- these last two require the use of a slightly different preamble from 'regular' LaTeX.)

To test a bibtex run use example files at http://andy-roberts.net/writing/latex/bibliographies

Download bib.tex and sample.bib to a folder. Run pdflatex bib-> bibtex -> pdflatex bib-> pdflatex bib from that folder with proper sequence to get bib.pdf

Alternatively one can automate the compiling using latexmk and arara

Not the answer you're looking for? Browse other questions tagged or ask your own question.