summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
index b825597f50c..bad1d2d1631 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/03/31 .dtx Todonotes source and documentation.]
+ [2009/04/02 .dtx Todonotes source and documentation.]
-\ProvidesPackage{todonotes}[2009/03/31]
+\ProvidesPackage{todonotes}[2009/04/02]
\RequirePackage{ifthen}
\RequirePackage{xkeyval}
\RequirePackage{xcolor}
@@ -127,11 +127,14 @@
\usetikzlibrary{shadows}}
\define@key{todonotes.sty}%
{figwidth}{\renewcommand{\@todonotes@figwidth}{#1}}
-\ProcessOptionsX
+\ProcessOptionsX*
+\if@todonotes@disabled
+\else
\if@todonotes@obeyDraft
-\@todonotes@disabledfalse
-\if@todonotes@isDraft
\@todonotes@disabledtrue
+\if@todonotes@isDraft
+\@todonotes@disabledfalse
+\fi
\fi
\fi