Theses, Books, Title pages ⇒ Contents link to abstract point to text, not headline
Contents link to abstract point to text, not headline
This is still an improvement over version 1.1, where roman-numeraled entry links just pointed bakc to the contents page and not the entry's page at all.
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
Re: Contents link to abstract point to text, not headline
You should consider transforming you current content to the updated template, but be sure to have backed up all your data first.
Apart from that, i am not sure i do understand the issue. Can you provide a minimal working example, so we can reproduce the exact same behaviour? This will require your version of Thesis.cls as well, since in the old template it was necessary to change that file.
Re: Contents link to abstract point to text, not headline
Using Foxit Reader, the links to the declaration of authorship, to the abstract, and
to the acknowledgements pages seem to point to the beginning of the text of each entry, instead of to the title. This is the behavior I get with the template itself, untouched, both when I compile it myself and when I download the output generated by Overleaf.
Using the Windows 10 built-in PDF reader app I get the behavior I want, so this could be an issue with Foxit Reader or an integration issue.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Contents link to abstract point to text, not headline
In the template as it is, the command
\addchaptertocentry adds an entry to the table of contents and places the target for the hyperlink. But this happens at a time, when the predefined content is already done; i.e. the target is below the content. Since \addchaptertocentry is a mere enhancement, the behaviour will not change. Other classes have built in mechanics that not have that issue, but the class MastersDoctoralThesis.cls is based on one of the standard classes. Right now, you can change main.tex in a manual way:
Code: Select all
\cleardoublepage
\addchaptertocentry{\abstractname} % Add the abstract to the table of contents
\begin{abstract}I will do some testing, maybe the issue can be resolved in a more simple manner, without wrecking up other stuff.
Re: Contents link to abstract point to text, not headline
Applying your snippet to the abstract, acknowledgements and authorship declaration fixed my issue!
I'd humbly suggest this fix should be incorporated into the next version of the template.
Happy 2016!