GeneralBibliography file does not work

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
darren3008
Posts: 2
Joined: Thu Sep 18, 2008 2:13 am

Bibliography file does not work

Post by darren3008 »

When I run BibTex on the .bib file I get the following error messages repeated for each citation entry:
- Latex Error: Missing \begin{document}
- Overfull \hbox (20.0pt too wide) in paragraph at lines 1 -- 20

Why is Latex looking for \begin{document} in a .bib file?

The process terminates with:
==> Fatal erro ocurred, no utput PDF file prodcued.

The log file shows:
- Latex Error: Missing \begin{document}
and then
Missing character: There is no @ in font nullfont!
Missing character: There is no A in font nullfont!
.... for every character

I have been able to generate simple example bibliographies. Same errors are produced but the process seems to work and results in a PDF file of text with citations correctly embedded.

Help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Trine
Posts: 11
Joined: Tue Dec 18, 2007 1:41 pm

Re: Bibliography file does not work

Post by Trine »

Maybe you have placed \bibliography{"path"} before \begin{document}?

It must be in the text body

Trine
User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography file does not work

Post by Stefan Kottwitz »

Hi darren3008,

welcome to the board!
It seems to me that you are running latex on the .bib file, not bibtex. In that case one would get those errors LaTeX Error: Missing \begin{document}, Missing character: There is no @ in font nullfont! etc.
Perhaps have a look at this tutorial: Getting to Grips with Latex - Bibliography Management, section Why won't Latex generate any output?, the commands needed are listed there.

Stefan
LaTeX.org admin
darren3008
Posts: 2
Joined: Thu Sep 18, 2008 2:13 am

Re: Bibliography file does not work

Post by darren3008 »

Thanks Trine, Thanks Stefan.

Yes I was running latex on on the .bib file not bibtex. I misunderstanding of how TeXnic Center works. Running it the righ tway now and all looks good :D darren3008
Post Reply