Unfortunately the document cannot be made public at this stage so I cannot post the files in their entirety. I have tried creating an example file using exactly the same formatting, code and files as I have, but this does not reproduce the problem.
The main page for the LaTeX is given below. I have also included the first paragraph of the first chapter to have references in it.
Code: Select all
% !TEX TS-program = pdflatexmk
\documentclass[a4paper,11pt,twoside]{ThesisStyle}
% PREAMBLE STARTS HERE
\include{formatAndDefs}
%\usepackage{harvard}
\usepackage[intoc,prefix]{nomencl}
\usepackage{acronym} % Package to write out acronym definitions on first usage
\usepackage[parfill]{parskip} %Adds a line break instead of just an indent to new paragraphs
\makenomenclature
\RequirePackage{ifthen}
\usepackage{vector}
% Preferred numbering format = 2 numbers
\numberwithin{equation}{chapter}
\numberwithin{figure}{chapter}
\numberwithin{table}{chapter}
% Commands for alignment in tables
\usepackage{array}
\newcolumntype{x}[1]{%
>{\centering\hspace{0pt}}m{#1}}%
\newcolumntype{y}[1]{%
>{\raggedleft\hspace{0pt}}m{#1}}%
\newcolumntype{z}[1]{%
>{\raggedright\hspace{0pt}}m{#1}}%
\usepackage{caption}
\usepackage{verbatim}
% PREAMBLE ENDS HERE
\begin{document}
%\include{Acronyms}
\include{TitlePage}
\pagenumbering{roman}
\include{Abstract}
\dominitoc
\tableofcontents\mtcaddchapter % Update minitoc because TOC has been added to TOC
\listoffigures\mtcaddchapter % Update minitoc because LOF has been added to TOC
\listoftables\mtcaddchapter % Update minitoc because LOT has been added to TOC
\include{Nomenclature}
\cleardoublepage
\mainmatter
\acresetall % Reset acronyms
\include{Intro}
\include{ch2}
\include{ch3}
\appendix
\include{appendix1}
\include{appendix2}
\bibliographystyle{unsrt}
\bibliography{Bib}
\end{document}
"Intro.tex" currently has no text in it, just placement headers. "Ch2.tex" is given below. The first reference shown here is the first reference to appear in the document (when viewed as a PDF), yet it is numbered [2]. The second, third and fourth are numbered [6], [7] and [8].
Code: Select all
\chapter{Chapter 2}
\label{chap:ch2}
Blah blah blah \cite{ref_1}, blah blah blah ref one again \cite{ref_1} and three associated papers: \cite{ref_2,ref_3,ref_4}. Blah blah \cite{ref_1} was blah blah blah blah.
Blah blah blah \cite{ref_5}.