Well, after expanding your code to a
minimal working example, I got only 1[1] warning:
Code: Select all
pdfTeX warning (dest): name{B\\unhbox\040\\voidb@x\040\\bgroup\040\\let\040\\
unhbox\040\\voidb@x\040\\setbox\040\\@tempboxa\040\\hbox\040{U\\global\040\\mat
hchardef\040\\accent@spacefactor\040\\spacefactor\040}\\let\040\\begingroup\040
\\let\040\\typeout\040\\protect\040\\begingroup\040\\def\040\\MessageBreak\040{
\012\(Font\)\040\040\040\040\040\040\040\040\040\040\040\040\040\040}\\let\040\
\protect\040\\immediate\\write\040\\m@ne\040{LaTeX\040Font\040Info:\040\040\040
\040\040on\040input\040line\04026.}\\endgroup\040\\endgroup\040\\relax\040\\let
\040\\ignorespaces\040\\relax\040\\accent\040127\040U\\egroup\040\\spacefactor\
040\\accent@spacefactor\040PF} has been referenced but does not exist, replaced
by a fixed one
, not 3 errors.
acronym's
\acro
command creates some macros from its first argument. Though the package's way isn't as strict as, say,
\newcommand
, extended[2] characters---such as umlauts--- in the name for the macro(s) to be created present a problem.
For cases like this,
\acro
accepts an optional argument that can be used to put `not-usable-characters-within-a-macro' into the short form. Then the first argument doesn't need this troublesome character (or more of them), anymore:
Code: Select all
\documentclass{article}%<-- no class, no LaTeX
\usepackage{hyperref} % Clickable links
\usepackage[printonlyused]{acronym} %Abbreviations
%\hypersetup{final}%<-- isn't that default?
\begin{document}
\begin{acronym}
%those work
\acro{DSG}{Datenschutzgesetz}
\acro{VDSG}{Verordnung zum Bundesgesetz über den Datenschutz}
% those throw an error about hyperlink not defined
\acro{revDSG}{revisioniertes Datenschutzgesetz}
\acro{ISG}{Informationssicherheitsgesetz}
\acro{BUePF}[BÜPF]{Bundesgesetz betreffend die Überwachung des Post- und Fernmeldeverkehrs}%<--
\end{acronym}
Rechtlich
\begin{itemize}%[leftmargin=*]%<-- the standard itemize env has no such option
\item \ac{revDSG}
\item \ac{ISG}
\item \ac{DSG}
\item \ac{VDSG}
\item \ac{BUePF}
\end{itemize}
\end{document}
[1] ignoring over-/underfull stuff here
[2] for lack of a better word...think of it as ``character not to be used within a
\csname
...
\endcsname
'' construct
KR
Rainer