|
|
|
@ -1930,10 +1930,10 @@ prior to loading the todonotes package.} \else\fi% |
|
|
|
% The |\todototoc| command respects the disable option. |
|
|
|
% The |\todototoc| command respects the disable option. |
|
|
|
% \begin{macrocode} |
|
|
|
% \begin{macrocode} |
|
|
|
\newcommand{\todototoc} |
|
|
|
\newcommand{\todototoc} |
|
|
|
{ |
|
|
|
{% |
|
|
|
\if@todonotes@disabled |
|
|
|
\if@todonotes@disabled |
|
|
|
\else |
|
|
|
\else |
|
|
|
\addcontentsline{toc}{\@ifundefined{chapter}{section}{chapter}}{\@todonotes@todolistname} |
|
|
|
\addcontentsline{toc}{\@ifundefined{chapter}{section}{chapter}}{\@todonotes@todolistname}% |
|
|
|
\fi |
|
|
|
\fi |
|
|
|
} |
|
|
|
} |
|
|
|
% \end{macrocode} |
|
|
|
% \end{macrocode} |
|
|
|
|