BibTeX, biblatex and biberBibliography Problem

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
eric23
Posts: 1
Joined: Fri Nov 18, 2011 8:21 am

Bibliography Problem

Post by eric23 »

Hi,

I'm using TexMakerX on a PC. I started using a thesis template provided by my university, and it all works fine except for the bibliography. The quickbuild is set to LaTex/Bibtex/Latex/PDF-Latex/PDF-viewer. It returns the errors:
Citation '5' on page 1 undefined on input line 4.
Empty 'thebibliography' environment on input line 3.
There were undefined references.
The .bib file seems to be in the right format, and a .bbl file is produced, but in the pdf, the in-text citation appears as [?] and no references appear at the end. This is also the case if I use \nocite.

After much mucking around unsuccessfully I looked at the tutorial example at http://www.andy-roberts.net/writing/lat ... iographies and made a small test file to see what was going wrong. However, I get exactly the same error messages and problems. Here is my .tex file:

Code: Select all

\documentclass{article}
\bibliographystyle{plain}

\begin{document}
See \cite{5} for details.
\bibliography{testbib}
\end{document}
and here is my .bib file:

Code: Select all

@article{5,
   author = {Sutherland, T. D. and Young, J. H.},
   title = {Insect silk: One name, many materials},
   journal = {Annual Review of Entomology},
   volume = {55},
   pages = {171-188},
   year = {2010}
}
I can't work out what's wrong. They are all in the same directory. Any help greatly appreciated.

Cheers!
Last edited by Stefan Kottwitz on Fri Nov 18, 2011 9:16 am, edited 1 time in total.

Recommended reading 2024:

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

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

arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Re: Bibliography Problem

Post by arwintcher »

Have you tried creating an MWE? Usually when this happens to me I eventually find a seemingly unrelated error, like an extra }, a character like & in the middle of a caption, or something like that. I'd start with looking at whatever is on line 4 and see if you can spot a little mistake like that.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibliography Problem

Post by localghost »

eric23 wrote:[…] After much mucking around unsuccessfully I looked at the tutorial example at http://www.andy-roberts.net/writing/lat ... iographies and made a small test file to see what was going wrong. However, I get exactly the same error messages and problems. […]
Any you certainly paid special attention to the remarks in the section called „Why won't LaTeX generate any output?“.


Best regards and welcome to the board
Thorsten
Post Reply