wannesm / adsphd

KU Leuven Arenberg Doctoral School PhD dissertation latex class
http://set.kuleuven.be/phd/
73 stars 46 forks source link

Link to Abbreviations in Contents not working #119

Open LucIJspeert opened 4 months ago

LucIJspeert commented 4 months ago

I found that the link in the contents page to the list of abbreviations was not working. It sent me to the abstractnl instead. Others were working correctly (although I don't use all possible pages).

What I found fixed the problem was to add \phantomsection to the last empty brackets in

\newcommand{\includeabbreviations}[1]{%
  % Use this command when making the abbreviation manually. Using the
  \IncludeUnnumberedChapterIfExists{#1}{Abbreviations}{\instructionslistofsymbols}{\phantomsection}
}

Of the file adsphd.cls