I am writing a report in Latex, and I have the references in a separate bib file and I reference them in my main document as \cite{xxx}
.
I am using Texworks on Windows. After compiling the bib to generate a bbl, when I compile the tex file with: "pdflatex + MakeIndex + BibTex", I am able to see the pdf the report, but I do not see the Bibilography section at the end and do not see references to the bibliography, not even question marks instead of the proper references to the bibliography.
I include the bibliography by typing
\bibliography{plain}
and
\bibliography{"C:/Users/BibName"}
at the end of the tex file
I then tried pdflatex + bibtex + pdflatex + pdflatex. When I tried that, the 'References' section shows up at the end, but I do not see the references, such as
1. Reinhard, D.A. Case Study
I also do not see the citation in the paper
Here is the MWE: The tex is:
\documentclass{article}
\begin{document}
Alpha particles \cite{example} (named after and denoted by the first letter in the
Greek alphabet,\[\alpha\]) consist of two protons and two neutrons bound
together.
This means that an particle is a helium nucleus.
\bibliography{plain}
\bibliographystyle{plain}
\bibliography{BibName}
\end{document}
The bib is:
@article{example,
author = {Knuth, Donald E.},
year = {1986},
title = {The \TeX book},
}
What am I doing wrong?
.log
say? What about the output from BibTeX? Can you compose a minimal working example (MWE) that replicates the problem that we can copy-and-paste-and-compile and see exactly what you're seeing?! LaTeX Error: File natbib.sty' not found.
andtodonotes.sty not found
, but I thought these were insignificant since it still produces the pdf at the end, containing everything as expected, except for the 'references' section\bibliographystyle
is required, since it specifies which.bst
to use to create the.bbl
from the.bib
. Without it, BibTeX would not now how to format the bibliography. You should also see this being reported as problematic in the BibTeX output (or your.blg
file).