I have compilation errors in my document which seem to be very similar to this question. The error message:
"File ended wile scanning use of \harvardurl. \bibliography{thesis_references}
The problem is with my preamble - might be conflicting packages. The full preamble is getting quite chunky now but these are the components which I think are relevant to the problem:
\usepackage{url}
\usepackage{hyperref}
%% use harvard style referencing
\bibliographystyle{agsm}
%% redefine uarvardurl command as in texexchange anwer
\renewcommand{\harvardurl}[1]{\textbf{URL:} \url{#1}}
\begin{document}
\bibliography{thesis_references}
\end{document}
The problem doesn't occur if I delete my bbl
file and change the referencing style to abbrvnat
. Any ideas what's going on?
%
, but without a.bib
file that is just guesswork. – moewe Apr 17 '18 at 11:28