diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes/todonotes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/todonotes/todonotes.sty | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index ac1a8f8da41..b825597f50c 100644 --- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty +++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty @@ -22,9 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{todonotes} - [2009/01/09 .dtx Todonotes source and documentation.] + [2009/03/31 .dtx Todonotes source and documentation.] -\ProvidesPackage{todonotes}[2009/01/09] +\ProvidesPackage{todonotes}[2009/03/31] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{xcolor} @@ -94,6 +94,10 @@ \@todonotes@SetMissingFigureDown{mancante}% } \newcounter{@todonotes@numberoftodonotes} +\newif{\if@todonotes@obeyDraft} +\DeclareOptionX{obeyDraft}{\@todonotes@obeyDrafttrue} +\newif{\if@todonotes@isDraft} +\DeclareOptionX{draft}{\@todonotes@isDrafttrue} \newif{\if@todonotes@disabled} \DeclareOptionX{disable}{\@todonotes@disabledtrue} \newif{\if@todonotes@colorinlistoftodos} @@ -124,6 +128,12 @@ \define@key{todonotes.sty}% {figwidth}{\renewcommand{\@todonotes@figwidth}{#1}} \ProcessOptionsX +\if@todonotes@obeyDraft +\@todonotes@disabledfalse +\if@todonotes@isDraft +\@todonotes@disabledtrue +\fi +\fi \newcommand{\@todonotes@currentlinecolor}{}% \newcommand{\@todonotes@currentbackgroundcolor}{}% |