Troubleshooting Bibliography Issues in PDF Output

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues related to bibliography output in a PDF generated from a LaTeX document. Participants are exploring the compilation process and potential errors in the bibliography file.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant reports that their bibliography is not appearing in the PDF output despite the .bib file being in the correct directory.
  • Another participant suggests running BibTeX and outlines the expected compilation cycle for documents using BibTeX.
  • A participant seeks clarification on whether they need to compile the document three times and mentions using Winedt with PDFtexify, noting that only the first reference appears in the PDF.
  • There is a suggestion that the issue may stem from errors in the .bib file, such as an extra brace that could terminate the file early.
  • One participant repeats the suggestion to check for errors in the BibTeX file and asks how to run BibTeX from a DOS prompt.
  • A participant shares that they uploaded their Bib file but had to save it as a .txt file due to issues with the .bib extension.

Areas of Agreement / Disagreement

Participants express uncertainty about the specific cause of the bibliography issue, with multiple suggestions being offered without consensus on the solution. There is no agreement on whether the problem lies with the compilation process or the bibliography file itself.

Contextual Notes

Participants have not confirmed the presence of errors in the .bib file, and there are unresolved questions about the correct compilation process and the handling of file extensions.

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 ·
Replies
8
Views
13K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K