I am new to this forum, I'm finishing up a PhD program and working on my thesis (a common story in these halls I imagine). Princeton distributes its own (unofficial) class file for theses, and for the most part it has worked just fine. However, when I try to use the hyperref package, I have an issue that seems to be confined only to the hyperlinks embedded in the ToC, LoT, and LoF (i.e., hyperlinks display and function properly in the body text, with no errors on compilation).
I am using TeXShop, and the 'TeX and DVI' typesetting option. When I run LaTeX, I get two 'Undefined control sequence' errors each time hyperref encounters a ToC, LoF, or LoT entry (see attached .log file), but no other errors occur during compilation. In the output PDF, the ToC, LoF, and LoT hyperlinks are displayed and function properly, but the word 'red' appears next to each link on the top left-hand side. Throughout the rest of the document, all other hyperlinks look good and work correctly (no phantom words lingering about).
Attached also is the puthesis.cls class file for the Princeton thesis format, as well as the main control TeX file, thesis_online.tex. My guess is that the problem is within the
\addcontentsline
bits at the bottom of the class file, and how it interacts with hyperref when that package is activated (everything works perfectly without hyperref). I found this post:http://www.latex-community.org/forum/vi ... =4&t=13245
which seemed relevant, discussing a missing (empty) argument that hyperref expects to encounter, but this class file isn't using the
\addtocontents
command. I would greatly appreciate any input, and if more information is needed, please let me know (this is my first inquiry on a TeX forum!). Thanks so much!