I want to combine a glossary and a list of acronyms. I am using the newdualentry
command from the wikibook (included in MWE below) and quite like the result, except for the hyperref links back to the pages where the terms occur.
The actual glossary entry links only to the page of first use whereas the acronym is linked to all pages where the term occurs (and, interestingly, the glossary/LoA page where the acronym is listed).
While this makes intuitive sense from the technical point of view, it is still undesirable for the actual document. Can I have the same backlink list for acronym and glossary entry, or all backlinks only with the latter and none for the abbreviation (preferably without referencing the acronym entry itself)?
\documentclass{article}
\usepackage{hyperref} % should be loaded after biblatex, before glossaries
\usepackage[nopostdot,toc]{glossaries}
\usepackage{xparse}
\DeclareDocumentCommand{\newdualentry}{ O{} O{} m m m m } {
\newglossaryentry{gls-#3}{name={#5},text={#5\glsadd{#3}},
description={#6},#1
}
\newacronym[see={[Glossary:]{gls-#3}},#2]{#3}{#4}{#5\glsadd{gls-#3}}
} % as per http://en.wikibooks.org/wiki/LaTeX/Glossary
\makeglossaries
\begin{document}
\printglossary[title={List of Terms and Acronyms}]
\clearpage
\newdualentry{ABC}{ABC}{Alphabet}{Standard set of letters.}
Text \gls{ABC}. About the \gls{ABC}.
\clearpage
More \gls{ABC}.
\end{document}