pospiech / latex

LaTeX Packages and templates
39 stars 6 forks source link

Hyperlink at glossary entry #2

Closed pfalzbacher closed 5 years ago

pfalzbacher commented 5 years ago

I have an issue on glossary entries. There is no hyperlink on any entry in the text. Sample: \gls{glos:label}, \glslink{glos:label}{Label}, \gls+{glos:label}. None of them create a hyperlink as I expect. Hyperlinks on sections and normal labels (\vref...) work.

I didn't find a command to de-/activate the hyperlinks (on glossary entries) at the template documentation. Maybe there is a switch somewhere?

Glossary is generated after TOC, (makeglossaries). I use the following version of texlive: pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/W32TeX) Next I will try to upgrade texlive.

Glossary entry definition:

\newglossaryentry{glos:label}{name=Label,
    description={
        This is a sample.
    }
}

Short update: with texlive2018 it doesn't work either. But now I cannot build the original template when I executed makeglossaries.exe latextemplate. Do you have any idea? Can you help me?

pfalzbacher commented 5 years ago

After 28 days of searching, I finally found a switch to turn on hyperlinks: https://github.com/pospiech/latex/blob/7f6b6d4a9c81ca7bfafd8ca192f70dd7c3470123/latexthesistemplate/template/preamble/style-glossaries.tex#L4

Sorry, but I did not find that line of code although I checked the file style-glossaries. It was too trivial.