3

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.

8
  • 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, 2014 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 Feb 21, 2014 at 20:25
  • @jon made an answer with your comment, hope it's ok Feb 25, 2014 at 3:23
  • @texenthusiast -- No problem!
    – jon
    Feb 25, 2014 at 3:44
  • Isn't this essentially the same as tex.stackexchange.com/questions/63852/…?
    – Joseph Wright
    Feb 25, 2014 at 8:43

1 Answer 1

2

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 .