I'm using ClassicThesis with the acronym package like this (MWE):
\documentclass{scrbook}
\usepackage{classicthesis}
\usepackage{acronym}
\begin{document}
\begin{acronym}
\acro{MAP}{Maximum A Posteriori}
\end{acronym}
Document text with an acronym: \ac{MAP}.
\end{document}
When compiling with pdflatex in Linux (three times), I get this kind of warning:
pdfTeX warning (dest): name{MAP} has been referenced but does not exist, replaced by a fixed one
I checked Acronyms in section names with classic thesis and Classicthesis: Capital abbreviations for acronyms in Acronym section, but those are slightly different questions due to ClassicThesis changing the case in headings. Instead, I get that kind of warning consistently for all acronyms (uppercase, lowercase and mixed case).
I attempted \PassOptionsToPackage{printonlyused,smaller}{acronym}
as in the example file classicthesis-config.tex
, but that does not seem to remove the warning. I'm not even sure that \PassOptionsToPackage
is the best solution. Any suggestion? (In my full document I also need to load package hyperref
.)
classicthesis
. Removing it and loadinghyperref
directly works.classicthesis
is often the cause of errors. Don't use it!