Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No hyperlink from acronyms to List of Abbreviations #102

Closed
TYueksel opened this issue Jan 10, 2019 · 5 comments
Closed

No hyperlink from acronyms to List of Abbreviations #102

TYueksel opened this issue Jan 10, 2019 · 5 comments
Labels

Comments

@TYueksel
Copy link

There are no hyperlinks from acronyms to the List of Abbreviations.
In the begginers guide for the glossaries package is stated:

Take care if you use the glossaries package with hyperref. Contrary to the usual advice that hyperref should be loaded last, glossaries (and glossaries-extra) must be loaded after hyperref

I think this is not the case...

@Vogel612
Copy link
Collaborator

This diagnosis seems to be correct. hyperref is included on line 701 of config.tex:

\usepackage[unicode]{hyperref}

glossaries is loaded on line 94.

\usepackage[acronym,indexonlyfirst,nomain]{glossaries}

A fix might be as simple as moving glossaries to below hyperref, as has previously been done with algorithm

@TYueksel
Copy link
Author

Moving glossaries to below hyperref didn't help solving the problem. acronyms with \gls still dont link to the List of Abbreviations. By linking I mean that the displayed acronym isnt a link, which sends me to the to the List of Abbreviations by clicking on it

@koppor
Copy link
Member

koppor commented Jan 11, 2019

It used to work. Please help by using git bisect to find the commit where it stopped working. That would really help to fix the issue. With "latexmk" that shouldn't be an issue. However, it will certainly take more than 30 minutes to do.

@TYueksel
Copy link
Author

I figured out a way myself to make this work. To fix this problem, you have to move not only glossaries, but line 84-105 to below hyperref. Those are the lines:

\usepackage{ragged2e}
\usepackage{scrwfile}
\usepackage[acronym,indexonlyfirst,nomain]{glossaries}
\ifdeutsch
\renewcommand*{\acronymname}{Abkürzungsverzeichnis}
\else
\renewcommand*{\acronymname}{List of Abbreviations}
\fi
\renewcommand*{\glsgroupskip}{}
\makenoidxglossaries

@koppor
Copy link
Member

koppor commented Jan 11, 2019 via email

@Vogel612 Vogel612 reopened this Jan 11, 2019
@Vogel612 Vogel612 added the bug label Jan 11, 2019
@koppor koppor closed this as completed in 4e5a075 Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants