In this question is asked how to hide single entries from my acronyms list. The solution works fine in the minimal example from that question. However, trying to use that solution in my actual document, I get another strange problem. My new minimal example:
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage[acronym,shortcuts,acronymlists={hidden}]{glossaries}
\newglossary[algh]{hidden}{acrh}{acnh}{Hidden Acronyms}
\makeglossaries
\newacronym{ex1}{Example 1}{should be displayed in list of acronyms when used at least once}
\newacronym[type=hidden]{ex2}{Example 2}{should never be displayed in list of acronyms}
\begin{document}
\printglossary[type=\acronymtype]
I use \textbf{\acs{ex1}} and \textbf{\acs{ex2}} in my text.
\end{document}
This results in a pdftex warning about a non-existing reference, name:{glo:ex2}, which gets replaced by a fixed one. I'd say, this comes from the hyperref-package. But the warning only appears, when I use KOMA-documentclass scrartcl AND the T1 option of fontenc-package. When using plain article or just fontenc without options, everything is fine. Any clues?
Argument of \@fileswith@ptions has an extra }.Also, I think I read something abouthyperrefshould be last package loaded? – Peter Grill Oct 17 '11 at 15:40}near}]glossaries}, this seems to compile fine for me. – Peter Grill Oct 17 '11 at 15:44hyperrreflast, but there are a few exceptions to that rule: See here – meep.meep Oct 17 '11 at 15:48