Document Classes ⇒ Problem while including hyperref
-
- 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 258 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem while including hyperref
\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.