Use case from Andreas Plank (link back to list of todos)

master
Henrik Skov Midtiby 17 years ago
parent 091e8513ab
commit a8eb2d3cc4
  1. 35
      todonotes.dtx

@ -713,6 +713,41 @@
% }
%
%
%
% \subsubsection{Link to list of todos}
%
% Andreas Plank have submitted this example.
% \begin{verbatim}
% % Define a counter for the inserted todonotes.
% \newcounter{todoListItems}
% \newcommand{\todoTrans}[2][ ]{
% % Increment counter
% \addtocounter{todoListItems}{1}
% \todo[%
% caption={\protect\hypertarget{todo\thetodoListItems}{} Translation},
% #1]
% {
% #2 \hfill
% \hyperlink{todo\thetodoListItems}{$\uparrow$}
% }
% }
% \end{verbatim}
%
% \newcounter{todoListItems}
% \newcommand{\todoTrans}[2][ ]{
% \addtocounter{todoListItems}{1}
% \todo[
% caption={\protect\hypertarget{todo\thetodoListItems}{} Translation},
% #1]{
% #2 \hfill
% \hyperlink{todo\thetodoListItems}{$\uparrow$}
% }
% }
%
% \todoTrans{papirsflyver}
% \todoTrans[inline]{damplokomotiv}
%
%
% \iffalse
% \StopEventually{\PrintChanges\PrintIndex}
% \fi

Loading…
Cancel
Save