From 96c380622cd1ccccd4104c60ded1e68f2291ee3b Mon Sep 17 00:00:00 2001 From: Henrik Skov Midtiby Date: Mon, 30 Mar 2009 22:36:55 +0200 Subject: [PATCH] Use case, add documentation --- todonotes.dtx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/todonotes.dtx b/todonotes.dtx index 6bda935..23cc016 100644 --- a/todonotes.dtx +++ b/todonotes.dtx @@ -716,7 +716,9 @@ % % \subsubsection{Link to list of todos} % -% Andreas Plank have submitted this example. +% Using the |hyperref| package it is possible to add a link from +% the inserted todonotes to the list of todos. +% The example were supplied by Andreas Plank. % \begin{verbatim} % % Define a counter for the inserted todonotes. % \newcounter{todoListItems} @@ -744,6 +746,15 @@ % } % } % +% The idea behind the code is to embed a |hypertarget| in each entry +% in the list of todos. In the todonotes a link to the entry in the +% list of todos is inserted as an arrow that points upwards. +% Using the |\todoTrans| command like below, the following two notes +% have been inserted. +% \begin{verbatim} +% \todoTrans{papirsflyver} +% \todoTrans[inline]{damplokomotiv} +% \end{verbatim} % \todoTrans{papirsflyver} % \todoTrans[inline]{damplokomotiv} %