I have a latex Class File which is given from an university. It works fine. I am trying to make my menu clickable and have the links appear on the left. For this I am trying to include the package \usepackage{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
Document Classes ⇒ Problem while including hyperref
-
- Posts: 1
- Joined: Thu Sep 04, 2014 3:05 am
Problem while including hyperref
- Attachments
-
- ulthesis-2.0.3.zip
- (144.43 KiB) Downloaded 263 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem while including hyperref
Get rid of all those
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.
\addcontentsline
s, 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.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.