Do anyone have an idea why I have this two errors when using a \hyperlink{}{}
in \todo[inline]
??
1- Argument of \reserved@a has an extra }.
2- Paragraph ended befor \reserved@a was complete.
Thank you.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityThe mandatory argument of macro \todo
from package todonotes
is written to the auxiliary files (.aux
, .tdo
for the list of todos), thus it is a "moving argument", where fragile macros break. \hyperlink
can be protected with \protect
:
\todo[inline]{\protect{hyperlink}{...}{...}}
\documentclass{...}
and ending with\end{document}
.