Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Using BibTEX

  1. Dec 8, 2008 #1
    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!
     
  2. jcsd
  3. Dec 8, 2008 #2
    Have you run BibTeX against your document yet? A full compile cycle for a document with a BibTeX bibliography looks something like this:
    Code (Text):

    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.
     
  4. Dec 9, 2008 #3
    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.
     
  5. Dec 10, 2008 #4

    f95toli

    User Avatar
    Science Advisor
    Gold Member

    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.
     
  6. Dec 10, 2008 #5
    How would you go about doing that ?
     
  7. Dec 10, 2008 #6
    I have uploaded my Bib file, hope this helps.
    I had to save the file as .txt because it didn't accept .bib extension
     

    Attached Files:

    Last edited: Dec 10, 2008
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Using BibTEX
  1. Bibtex latex (Replies: 1)

  2. Bibtex: formating help (Replies: 1)

Loading...