Hi,
just to make sure that everything in your system is working appropriately, do the following test:
1) Save the following file as
test.tex
Code: Select all
\documentclass[12pt,fleqn]{book}
\usepackage[numbers,square,sort]{natbib}
\begin{document}
Some text and a cite: \cite{goossens93}...
and the following command will print all the bibitems: \nocite{*}...
\bibliographystyle{ieeetr}
\bibliography{biblio}
\end{document}
2)
In the same folder, save the following file as
biblio.bib:
Code: Select all
@book{goossens93,
author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
title = "The Latex Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{knuth79,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = "1979",
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
@book{lamport94,
author = "Leslie Lamport",
title = "Latex: A Document Preparation System",
year = "1994",
edition = "Second",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@misc{patashnik88,
author = "Oren Patashnik",
title = "{B}ib{T}e{X}ing. Documentation for General {B}ib{T}e{X} users",
year = "1988",
howpublished = "Electronic document accompanying BibTeX
distribution"
}
@techreport{rahtz89,
author = "Sebastian Rahtz",
title = "A Survey of {T}ex and graphics",
year = "1989",
institution = "Department of Electronics and Computer Science",
address = "University of Southampton, UK",
number = "CSTR 89-7"
}
Now, compile test.tex in the following way:
Code: Select all
pdflatex test
bibtex test
pdflatex test
pdflatex test
(your editor probably has some way to automate this compilation procedure).
Please report the outcome of this little test (did you get any warnings/errors or did you get the final pdf file with the bibliography?).
1,1,2,3,5,8,13,21,34,55,89,144,233,...