Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands:

\bibliographystyle{plain}
\bibliography{thebibliography}

Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file.

share|improve this question

migrated from stackoverflow.com Jan 16 '11 at 5:16

This question came from our site for professional and enthusiast programmers.

    
Isn't La(TeX) off-topic, and has always been? In general, I mean, of course you can program in TeX, so those question would be on-topic. But also now with tex.SE existing... –  Jürgen A. Erhard Jan 15 '11 at 11:27

2 Answers 2

If you want everything included, you can use

\nocite{*}
share|improve this answer

By default, only those references are listed in the bibliography which also appear in the main text, so maybe you do not reference your sources so far?

share|improve this answer
    
Hi, This was actually the case. I just wanted to look at the bibliography before I started to use it as a reference. Thanks for the quick reply. –  Anonymous Jan 15 '11 at 11:35
3  
To include references that have not been cited, you could use the \nocite{refid} command e.g. just before the bibliography! –  Paul Jan 15 '11 at 11:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.