I am writing a text (whose content I can't fully disclose here) and I am experiencing some issues with citation order, using unsrt as bibliography style. Until a certain point citations are ordered correctly, but since I have added some .tex files, this isn't happening anymore. Any suggestions?






\newtcbtheorem[number within=section]{mytheo}{Definition}%



\makeatletter% Set distance from top of page to first float

\chead{\includegraphics[width=\textwidth]    {folder1/document1.pdf}}









\title{Text Title}
\author{Text Author}







\addcontentsline{toc}{chapter}{List of Figures}

\addcontentsline{toc}{chapter}{List of Tables}







  • 1
    Phrases such as "this isn't happening anymore" and "not working" are not illuminating. What, exactly, isn't "working"? What kind of output are you getting? What's in the tex files you say you added? Any \cite instructions, by any chance? If the answer is "yes", did you rerun LaTeX, BibTeX, and LaTeX twice more? Do LaTeX and BibTeX issue warning and/or error messages? Please be specific. – Mico Jun 12 at 19:50
  • 2
    You have posted a large amount of code but almost none of it is related to references or sorting, please remove all unrelated things such as image inclusion and remove \input{chapter/2/chapter.tex} that does not let anyone run the example. the fact that your original document contains private material is not relevant you can change every word to "wibble" in an editor, it will not affect the citation numbers – David Carlisle Jun 12 at 19:52
  • Quotes numbering is not sequential anymore. Only a part of them are ordered correctly, while others are ordered from the bottom of the correctly ordered ones; moreover they are not ordered correctly, but in a FIFO order relative to the insertion order in .bib file, not in .tex file. – EagleOne Jun 12 at 19:53
  • then most likely you have \cite{*} somewhere that is causing all entries in the bib to be used in order – David Carlisle Jun 12 at 19:54
  • 1
    side issue hyperref (cite backrefs etc) and glossaries will likely be benefit from reordering packages to the end of preamble – KJO Jun 12 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.