Reputation: 25
I'm trying to get a list of abbreviations with the package acro. This is a minimal, reproducable Example:
\documentclass[13pt, titlepage]{article}
\usepackage{acro}
\begin{document}
\DeclareAcronym{uxo}{
short = UXO ,
long = Unexploded Ordenances ,
tag = abbrev
}
\printacronyms[include=abbrev, name=Abkürzungsverzeichnis]
\ac{uxo}
\end{document}
So printacronyms should print out all the acronyms I set with the tag abbrev, but all I get is the word "Abkürzungsverzeichnis". There are no Error-messages and I can use the abbreviations if I type \ac{auv}
(like in the example). What is going on here?
Upvotes: 1
Views: 1787
Reputation: 38873
The problem can be avoided by placing \DeclareAcronym
in the preamble:
\documentclass[13pt, titlepage]{article}
\usepackage{acro}
\DeclareAcronym{uxo}{
short = UXO ,
long = Unexploded Ordenances ,
tag = abbrev
}
\begin{document}
\printacronyms[include=abbrev, name=Abkürzungsverzeichnis]
\ac{uxo}
\end{document}
Upvotes: 1