TeX - LaTeX Asked on May 20, 2021
I’m finalizing my PhD thesis and there seems to be a problem when using the classicthesis package together with unnumbered chapters/sections (I use the scrreprt class, but the problem might be more generic). Specifically, when using classicthesis, the links to anything unnumbered, both in PDF bookmarks and in the TOC, work incorrectly – they always lead to the beginning of the PDF. Let me show you a minimum working example:
documentclass{scrreprt}
usepackage{biblatex}
usepackage{classicthesis}
usepackage{hyperref}
begin{document}
addchap{XXX}
addchap{YYY}
addchap{QQQ}
addchap{ZZZ}
tableofcontents
end{document}
Now, whenever I click on any unnumbered chapter in TOC/bookmarks, I always go to XXX. Once you remove classicthesis, the problem goes away.
I tried to also use a more manual way of including unnumbered chapters (with addcontentsline, etc.), and it has the same problem.
Thanks for any help!
Edit: Thanks for the comment! I did more digging and there was also some other external factor that influenced the issue. However, the problem was also related to the ordering of loading classicthesis and hyperref. The current order in the code below is OK, swapping the order resulted in the problem.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP