Troubleshooting Bibliography Issues in PDF Output

AI Thread Summary
The user is experiencing issues with their bibliography not appearing in the PDF output despite having the .bib file in the same directory as the main .tex file. They are using the command sequence for compiling with BibTeX but only the first reference shows up, while others are cited as [?]. Suggestions include checking for errors in the .bib file, such as extra brackets, and running BibTeX from a command prompt to identify any issues. The user has also mentioned needing to save their Bib file as .txt due to extension restrictions. Proper troubleshooting of the BibTeX file and compilation process is essential for resolving the bibliography issue.
NoobixCube
Messages
154
Reaction score
0
Hey all,
My bibliography is not showing up in the PDF output, and I'm not sure why..
The bib file is in the same directory as the the main tex file.
I am using the command:

\documentclass[a4paper,twoside,11pt]{book}

\usepackage{calc}
\usepackage{setspace}

\usepackage{graphicx}
\graphicspath{{TwoBody/}{StatAn/}{OrbitalInc/}{OrbitalFam/}{Future/}{FeasandApp/}{DetectingExo/}{Conclu/}}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{helvet}
%%%%%%% Page styles %%%%%%%
\setlength{\hoffset}{-1in} \setlength{\oddsidemargin}{40mm} \setlength{\evensidemargin}{30mm}
\setlength{\textwidth}{\paperwidth-\oddsidemargin-\evensidemargin} \onehalfspacing

%%%%%%% Document starts here
\begin{document}

%whole bunch of of chapters in here that compile fine!

%%%%%%% Bibliography %%%%%%%
\bibliographystyle{plain}
\bibliography{mybiblio}

\end{document}





Any help would be really really helpful!
 
Physics news on Phys.org
Have you run BibTeX against your document yet? A full compile cycle for a document with a BibTeX bibliography looks something like this:
Code:
latex mydocument
bibtex mydocument
latex mydocument
latex mydocument
If I recall correctly, the first invocation of latex creates mydocument.aux, which is read by BibTeX to find the appropriate bibliography style file (.bst) and the appropriate bibliographic database(s) (.bib), which it uses to produce a bibliography (.bbl). The second invocation of latex incorporates this bibliography into the output, and the third and final invocation of latex updates all of the cross references.
 
So what I gather is you want me to compile the document 3 times?
I am using Winedt, PDFtexify compile. Does this help.
After a number of times compiling the document, only the first BibTex reference is displayed in the final PDF (I guess it's a start) but the other reference which are cited with the document are cited as: [?]
and they do not show up in the bibliography.
 
Is bibtex giving you any errors? It sounds like there is a problem with your bibtext file, probably an extra } or something similar that is terminating the file early.

Try running bibtex from a DOS prompt, that way you can see any errrors more easily.
 
f95toli said:
Is bibtex giving you any errors? It sounds like there is a problem with your bibtext file, probably an extra } or something similar that is terminating the file early.

Try running bibtex from a DOS prompt, that way you can see any errrors more easily.
How would you go about doing that ?
 
I have uploaded my Bib file, hope this helps.
I had to save the file as .txt because it didn't accept .bib extension
 

Attachments

Last edited:

Similar threads

Replies
8
Views
12K
Replies
4
Views
3K
Back
Top