- Create
myBibliography.bib
. Put BibTeX entries in it. - Insert the following into the bottom of your LaTeX document, just before
\end{document}
:
\bibliographystyle{apalike} % or alpha, or plain, or whatever.
\bibliography{myBibliography}
- Cite things in the document:
\cite{referenceName}
- Then, run
LaTeX
(orpdfLaTeX
) on your main document once. - Then, run
BibTeX
on the main LaTeX document once, not the .bib file.- e.g.
bibtex main
(don't put.tex
on the end as it's actually running it onmain.aux
, notmain.tex
)
- e.g.
- Then, run
LaTeX
twice more on the main document.