The acro
's documentation tells us:
When
acro
is used together with the packagehyperref
[ORT21] then you can make use of the following option:
make-links = true|false
If this is activated then every short or alternative appearance of an acronym will be linked to its description in the list of acronyms.
And that is indeed the case in the following example:
\documentclass{article}
\usepackage{acro}
\usepackage{hyperref}
\acsetup{
make-links = true,
% link-only-first = true
}
\DeclareAcronym{cd}{
short = CD ,
long = compact disc
}
\begin{document}
\ac{cd}
\newpage
\printacronyms
\newpage
Foo.
\end{document}
Next, the documentation tells us:
link-only-first = true|false
If this is activated in addition to
make-links
then only the first short or alternative appearance of an acronym will be linked to its description in the list of acronyms.
But, as soon as the link-only-first
option is uncommented in the example above, the (first) short appearance of the acronym is linked:
- to the last page of the document,
- not to its description in the list of acronyms.
Interestingly enough, the .aux
files are the same in both cases.
Do you understand what's going on and how to circumvent this problem?