Document Classes ⇒ Problem while including hyperref
-
phanipolina
- Posts: 1
- Joined: Thu Sep 04, 2014 3:05 am
Problem while including hyperref
The minute I include the hyperref package get an error argument of contents line has an extra }
I have attached the files. samplethesis.tex is the file with the problem.
I am new to latex and I am not able to solve this. Any help is highly appreciated
- Attachments
-
- ulthesis-2.0.3.zip
- (144.43 KiB) Downloaded 280 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem while including hyperref
\addcontentslines, they are stupid. From the TeXnical side, the file sample_thesis.tex is obsolet for about 20 years. In other words, this is really bad style. Somebody should take a look at this and make it better. There is a lot room for improvements. Please inform Professor Kielkopf about this. It almost makes me nauseated.EDIT: Just had a look at the class file. The first part is a nearly one to one copy of report.cls from 1994 (bit outdated, but still ok). The second part are some redefinitions, but using the new LaTeX2e syntax (been there since 1994). Now the question arises: Why isn't the new syntax used in the sample file? Please be aware, that new means 20 years old.