summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-02 18:41:54 +0000
committerKarl Berry <karl@freefriends.org>2009-04-02 18:41:54 +0000
commit5c628436fda45c9dcae5c2382445eb7d3395d1d6 (patch)
tree0be44bd8de77efeff373de91415e051a1ccc6b38 /Master/texmf-dist/tex/latex/todonotes
parent01fcf064ed469deec1daa3aecec26ab905dd50c2 (diff)
todonotes update (31mar09)
git-svn-id: svn://tug.org/texlive/trunk@12606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty14
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}{}%