From 30f6f90877cd5ab1fab0577d1880b048332b766f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 31 Dec 2008 01:00:44 +0000 Subject: todonotes update (29dec08) git-svn-id: svn://tug.org/texlive/trunk@11757 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/todonotes/todonotes.pdf | Bin 177322 -> 177864 bytes .../doc/latex/todonotes/todonotesexample.pdf | Bin 33146 -> 33146 bytes .../source/latex/todonotes/todonotes.dtx | 22 +++++++++++++-------- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 14 +++++++------ 4 files changed, 22 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf index 1804be93dd2..b320af3beb6 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf and b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf differ diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf index 182f0cd4c37..eb692e90fe5 100644 Binary files a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf and b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf differ diff --git a/Master/texmf-dist/source/latex/todonotes/todonotes.dtx b/Master/texmf-dist/source/latex/todonotes/todonotes.dtx index e9f028305c7..06887612247 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> - [2008/12/27 .dtx Todonotes source and documentation.] + [2008/12/30 .dtx Todonotes source and documentation.] % % %<*driver> \documentclass{ltxdoc} \usepackage{wrapfig} \usepackage[colorlinks, linkcolor=black]{hyperref} -\usepackage[prependcaption, colorinlistoftodos]{todonotes}[2008/12/27] +\usepackage[prependcaption, colorinlistoftodos]{todonotes}[2008/12/30] \usepackage{setspace} \EnableCrossrefs \CodelineIndex @@ -44,7 +44,7 @@ % % \fi % -% \CheckSum{308} +% \CheckSum{0} % % \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 @@ -104,6 +104,10 @@ % \changes{0.7.2}{2008/12/27}{Avoid to change the fontsize inside % the list of todos, fixing a bug revealed by Vladimir % Zhuravlev.} +% \changes{0.7.3}{2008/12/30}{The localization options (danish and +% german) and the disable options, were all flawed by +% naming inconsistencies that made then break the +% package. This have been fixed.} % % \GetFileInfo{todonotes.dtx} % @@ -547,7 +551,7 @@ % % Identifies the package and loads the packages dependences. % \begin{macrocode} -\ProvidesPackage{todonotes}[2008/12/27] +\ProvidesPackage{todonotes}[2008/12/30] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{hyperref} @@ -574,15 +578,17 @@ \newcommand{\@todonotes@todolistname}{Todo list} \newcommand{\@todonotes@MissingFigureUp}{Missing} \newcommand{\@todonotes@MissingFigureDown}{figure} -\newcommand{\@todonotes@SetTodoListName}[1]{\renewcommand{\todolistname}{#1}} -\newcommand{\@todonotes@SetMissingFigureUp}[1]{\renewcommand{\MissingFigureUp}{#1}} -\providecommand{\SetMissingFigureDown}[1]{\renewcommand{\MissingFigureDown}{#1}} +\newcommand{\@todonotes@SetTodoListName}[1]{\renewcommand{\@todonotes@todolistname}{#1}} +\newcommand{\@todonotes@SetMissingFigureUp}[1]{\renewcommand{\@todonotes@MissingFigureUp}{#1}} +\newcommand{\@todonotes@SetMissingFigureDown}[1]{\renewcommand{\@todonotes@MissingFigureDown}{#1}} \DeclareOptionX{danish}{% + \typeout{Danish} \@todonotes@SetTodoListName{G\o{}rem\aa{}lsliste}% \@todonotes@SetMissingFigureUp{Manglende}% \@todonotes@SetMissingFigureDown{figur}% } \DeclareOptionX{german}{% + \typeout{German} \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}% \@todonotes@SetMissingFigureUp{Fehlende}% \@todonotes@SetMissingFigureDown{Abbildung}% @@ -726,7 +732,7 @@ % \begin{macrocode} \if@todonotes@disabled% \newcommand{\listoftodos}{} - \newcommand{\todo}[2][]{\ignotespaces} + \newcommand{\todo}[2][]{\ignorespaces} \newcommand{\missingfigure}[1]{} \else % \if@todonotes@disabled % \end{macrocode} diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index ae35d16af8b..8be34bd7d3d 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} - [2008/12/27 .dtx Todonotes source and documentation.] + [2008/12/30 .dtx Todonotes source and documentation.] -\ProvidesPackage{todonotes}[2008/12/27] +\ProvidesPackage{todonotes}[2008/12/30] \RequirePackage{ifthen} \RequirePackage{xkeyval} \RequirePackage{hyperref} @@ -40,15 +40,17 @@ \newcommand{\@todonotes@todolistname}{Todo list} \newcommand{\@todonotes@MissingFigureUp}{Missing} \newcommand{\@todonotes@MissingFigureDown}{figure} -\newcommand{\@todonotes@SetTodoListName}[1]{\renewcommand{\todolistname}{#1}} -\newcommand{\@todonotes@SetMissingFigureUp}[1]{\renewcommand{\MissingFigureUp}{#1}} -\providecommand{\SetMissingFigureDown}[1]{\renewcommand{\MissingFigureDown}{#1}} +\newcommand{\@todonotes@SetTodoListName}[1]{\renewcommand{\@todonotes@todolistname}{#1}} +\newcommand{\@todonotes@SetMissingFigureUp}[1]{\renewcommand{\@todonotes@MissingFigureUp}{#1}} +\newcommand{\@todonotes@SetMissingFigureDown}[1]{\renewcommand{\@todonotes@MissingFigureDown}{#1}} \DeclareOptionX{danish}{% + \typeout{Danish} \@todonotes@SetTodoListName{G\o{}rem\aa{}lsliste}% \@todonotes@SetMissingFigureUp{Manglende}% \@todonotes@SetMissingFigureDown{figur}% } \DeclareOptionX{german}{% + \typeout{German} \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}% \@todonotes@SetMissingFigureUp{Fehlende}% \@todonotes@SetMissingFigureDown{Abbildung}% @@ -114,7 +116,7 @@ \if@todonotes@disabled% \newcommand{\listoftodos}{} - \newcommand{\todo}[2][]{\ignotespaces} + \newcommand{\todo}[2][]{\ignorespaces} \newcommand{\missingfigure}[1]{} \else % \if@todonotes@disabled \newcommand{\listoftodos} -- cgit v1.2.3