I am currently writing my thesis and using the class file provided by my university. Everything is fine and compiles well except for the citations and references.
The default setting is order the references alphabetically, but I want them ordered numerically....that is in the order in which I cited the references.
I have tried using
\usepackage[super,sort&compress]{natbib}
and then
\begin{document}
\bibliographystyle{unsrtnat}
\bibfiles{chap1,chap2,chap3,chap4,chap5}
\bibpunct{[}{]}{,}{s}{}{}
It does not work....I can see it modifying my references in some way. The first citation is [1] and then [2], but the third citation is [39]!
I also tried biblatex.
\pdfoptionpdfminorversion=6
\documentclass[12pt,hyperref]{gatech-thesis}
\usepackage{amsmath,amssymb,latexsym,float,epsfig,subfigure,textcomp}
\usepackage[style=numeric-comp]{biblatex}
\bibliography{chap1,chap2,chap3,chap4,chap5,chap6}
\usepackage[]{hyperref}
\begin{document}
\printbibliography
This one gives me a Latex error "Can only be used in preamble"....I tried reordering the location of the \usepackage[style=numeric-comp]{biblatex} command, but I still cannot get it to work.
But I did notice that a test file that I created to check biblatex (below) runs perfectly without any issues.
\documentclass{article}
\usepackage[style=numeric-comp]{biblatex}
\bibliography{examples}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
So, I am not sure I understand why it won't work with the original class file. I would appreciate your help.
I think this is further complicated by the fact that I have citations within Figure captions.
\caption{blah blah...\cite{xyz}}
This might also be responsible for the problem.
gatech-thesisclass redefines the bibliography commands and is therefore not compatible withbiblatexwithout a good amount of modification. When you usednatbib, did you make sure to run latex at least twice after running bibtex? – Alan Munn Oct 15 '11 at 16:05