summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/todonotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-03 16:24:34 +0000
committerKarl Berry <karl@freefriends.org>2009-04-03 16:24:34 +0000
commita3823200f9740eb57447e7624645ae06d8970dc2 (patch)
treec72dd553b8d1587f42df09bc4b3e2a4c8287198c /Master/texmf-dist/source/latex/todonotes
parent2c6efb10e65099a14b97c9f063b0ddad238fa738 (diff)
todonotes update (2apr09)
git-svn-id: svn://tug.org/texlive/trunk@12617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/todonotes')
-rw-r--r--Master/texmf-dist/source/latex/todonotes/todonotes.dtx22
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
index 8bf91f5b7d3..bc2ae3cb7ca 100644
--- a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
+++ b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx
@@ -22,14 +22,14 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{todonotes}
%<*package>
- [2009/03/31 .dtx Todonotes source and documentation.]
+ [2009/04/02 .dtx Todonotes source and documentation.]
%</package>
%
%<*driver>
\documentclass{ltxdoc}
\usepackage{wrapfig}
\usepackage[colorlinks, linkcolor=black]{hyperref}
-\usepackage[colorinlistoftodos, shadow]{todonotes}[2009/03/31]
+\usepackage[colorinlistoftodos, shadow]{todonotes}[2009/04/02]
\usepackage{amsmath}
\usepackage{setspace}
\setcounter{tocdepth}{2}
@@ -46,7 +46,7 @@
%</driver>
% \fi
%
-% \CheckSum{412}
+% \CheckSum{415}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -136,6 +136,8 @@
% list of todos, idea from Andreas Plank. Introduced a
% package option for listening to the draft option given
% to the document class.}
+% \changes{0.8.4}{2009/04/02}{Fixed a bug related to the obeyDraft
+% option.}
%
% \GetFileInfo{todonotes.dtx}
%
@@ -780,7 +782,7 @@
%
% Identifies the package and loads the packages dependences.
% \begin{macrocode}
-\ProvidesPackage{todonotes}[2009/03/31]
+\ProvidesPackage{todonotes}[2009/04/02]
\RequirePackage{ifthen}
\RequirePackage{xkeyval}
\RequirePackage{xcolor}
@@ -959,16 +961,20 @@
% \begin{macrocode}
% Finally process the given options.
% \begin{macrocode}
-\ProcessOptionsX
+\ProcessOptionsX*
% \end{macrocode}
% If the |obeyDraft| is given, check whether the |draft|
% option is given and enable or disable the functionality of this
% package.
+% The |disable| option will overrule the effect of |obeyDraft|.
% \begin{macrocode}
-\if@todonotes@obeyDraft
- \@todonotes@disabledfalse
- \if@todonotes@isDraft
+\if@todonotes@disabled
+\else
+ \if@todonotes@obeyDraft
\@todonotes@disabledtrue
+ \if@todonotes@isDraft
+ \@todonotes@disabledfalse
+ \fi
\fi
\fi
% \end{macrocode}