From a3823200f9740eb57447e7624645ae06d8970dc2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 Apr 2009 16:24:34 +0000 Subject: todonotes update (2apr09) git-svn-id: svn://tug.org/texlive/trunk@12617 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/todonotes/todonotes.dtx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/todonotes') 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 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{todonotes} %<*package> - [2009/03/31 .dtx Todonotes source and documentation.] + [2009/04/02 .dtx Todonotes source and documentation.] % % %<*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 @@ % % \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} -- cgit v1.2.3