When I try to compile the attached test document with MikTeX 2.9 updated to the latest packages, I get a
! TeX capacity exceeded, sorry [input stack size=5000].
error. I finally tracked down the error to be caused by the url line in the bib file, which my bib manager automatically produces. How can I fix this without manually removing all url lines (which I don't need most of the time, but I don't understand why they lead to the error)?
The commands I used for compilation are
pdflatex sa
bibtex sa
pdflatex sa
Please obtain the iopart class files from here (I used the PKZip version). I extracted all files from the zip to my project directory and followed the instructions from the documentation included in the same zip file:
- for alphabetic (Harvard) style reference we recommend that authors use the jphysicsB.bst BiBTeX style file together with the harvard LATEX package. jphysicsB.bst is supplied as part of the harvard.sty package which can be downloaded from www.ctan.org.
Source for sa.tex:
\documentclass[12pt]{iopart}
\usepackage{iopams}
\usepackage{harvard}
\begin{document}
test \cite{Hoo2009}.
\bibliographystyle{jphysicsB}
\bibliography{sa}
\end{document}
Source for sa.bib:
@ARTICLE{Hoo2009,
author = {Boo Hoo},
title = {Paper},
year = {2009},
url = {boo}
}
iopart? – egreg Mar 01 '12 at 18:29html.styin your system. – egreg Mar 01 '12 at 20:30