summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/todonotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-12-31 01:00:44 +0000
committerKarl Berry <karl@freefriends.org>2008-12-31 01:00:44 +0000
commit30f6f90877cd5ab1fab0577d1880b048332b766f (patch)
treec77f313a4078e20a66fa73fea1bb65ed22fa7fce /Master/texmf-dist/source/latex/todonotes
parent03169d44bb9d8b8a7195dd7e7772142264319316 (diff)
todonotes update (29dec08)
git-svn-id: svn://tug.org/texlive/trunk@11757 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 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}