I have problems with my glossaries/hyperrefs. The glossaries uses in imy text are links but only refers to the first page and not to the "Abbraviations" or "Symbols". The code is distributed pver several files and I have simplified it as much as possible with reproducing the problem.
Does anyone have an Idea for this issue? All I found by google was not fixing my problem.
Thanks for every helpful response.
\documentclass[
twoside,
open=right,
a4paper,
pdftex,
toc=bibliography,
12pt,
DIV=14,
BCOR=6mm,
headsepline
]{scrbook}
\usepackage[a4paper]{geometry}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{amsmath}
\usepackage[colorlinks, linkcolor = black, citecolor = black, filecolor = black, urlcolor = blue]{hyperref}
\usepackage[capitalise, nameinlink]{cleveref}
\usepackage[nonumberlist, toc, nomain, nopostdot, acronym, nogroupskip,automake]{glossaries}
\usepackage[stylemods=longextra]{glossaries-extra}
\newglossary[sym]{symbolslist}{syt}{syn}{Symbols}
\newglossary[alg]{Abbreviations}{acr}{acn}{Abbreviations}
\newglossarystyle{symunit}{%
\setglossarystyle{long-name-desc-sym}
\renewenvironment{theglossary}
{\begin{longtable}[l]{@{}lp{\glsdescwidth}lp{\glsdescwidth}}}
{\end{longtable}}
\renewcommand*{\glossaryheader}{
\bfseries Symbol & \bfseries Description & \bfseries Unit
\\\endhead}
\renewcommand*{\glossentry}[2]{
\glsentryname{##1}
& \glossentrydesc{##1}
& \glossentrysymbol{##1}
\tabularnewline
}%
}
\newglossarystyle{abbre}{
\setglossarystyle{long-name-desc}
\renewenvironment{theglossary}
{\begin{longtable}[l]{@{}lp{\glsdescwidth}lp{\glsdescwidth}}}
{\end{longtable}}
\renewcommand*{\glossaryheader}{
\bfseries Abbreviations & \bfseries Description
\\\endhead}
\renewcommand*{\glossentry}[2]{
\glossentryname{##1}
& \glossentrydesc{##1}
\tabularnewline
}
}
\makeglossaries
\newglossaryentry{abr:bet}{name=BET,
description={Brunauer-Emmett-Teller},
first={Brunauer-Emmett-Teller (BET)},
sort = BET,
type = Abbreviations}
\newglossaryentry{abr:bjh}{name=BJH,
description={Barrett-Joyner-Halenda},
first={Barrett-Joyner-Halenda (BJH)},
sort = BJH,
type = Abbreviations}
\newglossaryentry{abr:xps}{name=XPS,
description={X-ray photoelectron spectroscopy},
first={X-ray photoelectron spectroscopy (XPS)},
sort = xps,
type = Abbreviations}
\pdfminorversion=7
\begin{document}
\frontmatter
\pagenumbering{Roman}
\begin{titlepage}
\pdfbookmark{Titelblatt}{Titelblatt}
\hypertarget{Titelblatt}{}
\blindtext
\cleardoubleemptypage
{\Large \textbf{Abstract}}\\
\blindtext
\end{titlepage}
\printglossary[type=Abbreviations,title=Abbreviations,style=abbre]
\tableofcontents
\mainmatter
\chapter{Introduction}
\blindtext
\gls{abr:bjh}
\gls{abr:bet}
\gls{abr:xps}
\end{document}