diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-31 01:00:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-31 01:00:44 +0000 |
commit | 30f6f90877cd5ab1fab0577d1880b048332b766f (patch) | |
tree | c77f313a4078e20a66fa73fea1bb65ed22fa7fce /Master/texmf-dist | |
parent | 03169d44bb9d8b8a7195dd7e7772142264319316 (diff) |
todonotes update (29dec08)
git-svn-id: svn://tug.org/texlive/trunk@11757 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/todonotes/todonotes.pdf | bin | 177322 -> 177864 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf | bin | 33146 -> 33146 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/todonotes/todonotes.dtx | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/todonotes/todonotes.sty | 14 |
4 files changed, 22 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf Binary files differindex 1804be93dd2..b320af3beb6 100644 --- a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf +++ b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf Binary files differindex 182f0cd4c37..eb692e90fe5 100644 --- a/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf +++ b/Master/texmf-dist/doc/latex/todonotes/todonotesexample.pdf 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 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{todonotes} %<*package> - [2008/12/27 .dtx Todonotes source and documentation.] + [2008/12/30 .dtx Todonotes source and documentation.] %</package> % %<*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 @@ %</driver> % \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} |