summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/todonotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-31 01:35:29 +0000
committerKarl Berry <karl@freefriends.org>2009-12-31 01:35:29 +0000
commita0a6c9380d72654c67032aeaa639e1d4c54bbfad (patch)
treec684db269bc5108077c211ea6dc43c02f31eb169 /Master/texmf-dist/tex/latex/todonotes
parent281c80135e585c4c2209f61daa7fc7f056671e0b (diff)
todonotes update (26dec09)
git-svn-id: svn://tug.org/texlive/trunk@16544 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/todonotes')
-rw-r--r--Master/texmf-dist/tex/latex/todonotes/todonotes.sty56
1 files changed, 31 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
index 6e169bce4a4..27d23195bdd 100644
--- a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
+++ b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{todonotes}
- [2009/10/24 .dtx Todonotes source and documentation.]
+ [2009/12/25 .dtx Todonotes source and documentation.]
\ProvidesPackage{todonotes}[2009/04/02]
\RequirePackage{ifthen}
@@ -36,7 +36,7 @@
\newcommand{\@todonotes@bordercolor}{black}
\newcommand{\@todonotes@textwidth}{\marginparwidth}
\newcommand{\@todonotes@textsize}{\normalsize}
-\newcommand{\@todonotes@figwidth}{\textwidth}
+\newcommand{\@todonotes@figwidth}{\columnwidth}
\AtBeginDocument{
\ifx\undefined\phantomsection
\newcommand{\phantomsection}{}
@@ -56,23 +56,23 @@
\newcommand{\@todonotes@SetMissingFigureDown}[1]
{\renewcommand{\@todonotes@MissingFigureDown}{#1}}
\newif{\if@todonotes@reverseMissingFigureTriangle}
+\DeclareOptionX{catalan}{
+ \@todonotes@SetTodoListName{Llista de feines pendents}%
+ \@todonotes@SetMissingFigureText{Figura}%
+ \@todonotes@SetMissingFigureUp{Figura}%
+ \@todonotes@SetMissingFigureDown{pendent}%
+}
\DeclareOptionX{danish}{%
\@todonotes@SetTodoListName{G\o{}rem\aa{}lsliste}%
\@todonotes@SetMissingFigureText{Figur}%
\@todonotes@SetMissingFigureUp{Manglende}%
\@todonotes@SetMissingFigureDown{figur}%
}
-\DeclareOptionX{german}{%
- \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}%
- \@todonotes@SetMissingFigureText{Abbildung}%
- \@todonotes@SetMissingFigureUp{Fehlende}%
- \@todonotes@SetMissingFigureDown{Abbildung}%
-}
-\DeclareOptionX{ngerman}{%
- \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}%
- \@todonotes@SetMissingFigureText{Abbildung}%
- \@todonotes@SetMissingFigureUp{Fehlende}%
- \@todonotes@SetMissingFigureDown{Abbildung}%
+\DeclareOptionX{dutch}{%
+ \@todonotes@SetTodoListName{Lijst van onafgewerkte taken}%
+ \@todonotes@SetMissingFigureText{Figuur}%
+ \@todonotes@SetMissingFigureUp{Ontbrekende}%
+ \@todonotes@SetMissingFigureDown{figuur}%
}
\DeclareOptionX{french}{%
\@todonotes@SetTodoListName{Liste des points \`a traiter}%
@@ -81,17 +81,11 @@
\@todonotes@SetMissingFigureDown{manquante}%
\@todonotes@reverseMissingFigureTrianglefalse
}
-\DeclareOptionX{catalan}{
- \@todonotes@SetTodoListName{Llista de feines pendents}%
- \@todonotes@SetMissingFigureText{Figura}%
- \@todonotes@SetMissingFigureUp{Figura}%
- \@todonotes@SetMissingFigureDown{pendent}%
-}
-\DeclareOptionX{spanish}{
- \@todonotes@SetTodoListName{Lista de tareas pendientes}%
- \@todonotes@SetMissingFigureText{Figura}%
- \@todonotes@SetMissingFigureUp{Figura}%
- \@todonotes@SetMissingFigureDown{pendient}%
+\DeclareOptionX{german}{%
+ \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}%
+ \@todonotes@SetMissingFigureText{Abbildung}%
+ \@todonotes@SetMissingFigureUp{Fehlende}%
+ \@todonotes@SetMissingFigureDown{Abbildung}%
}
\DeclareOptionX{italian}{
\@todonotes@SetTodoListName{Elenco delle cose da fare}%
@@ -99,12 +93,24 @@
\@todonotes@SetMissingFigureUp{Figura}%
\@todonotes@SetMissingFigureDown{mancante}%
}
+\DeclareOptionX{ngerman}{%
+ \@todonotes@SetTodoListName{Liste der noch zu erledigenden Punkte}%
+ \@todonotes@SetMissingFigureText{Abbildung}%
+ \@todonotes@SetMissingFigureUp{Fehlende}%
+ \@todonotes@SetMissingFigureDown{Abbildung}%
+}
\DeclareOptionX{portuguese}{
\@todonotes@SetTodoListName{Lista de tarefas pendentes}%
\@todonotes@SetMissingFigureText{Figura}%
\@todonotes@SetMissingFigureUp{Figura}%
\@todonotes@SetMissingFigureDown{pendente}%
}
+\DeclareOptionX{spanish}{
+ \@todonotes@SetTodoListName{Lista de tareas pendientes}%
+ \@todonotes@SetMissingFigureText{Figura}%
+ \@todonotes@SetMissingFigureUp{Figura}%
+ \@todonotes@SetMissingFigureDown{pendient}%
+}
\newcounter{@todonotes@numberoftodonotes}
\newif{\if@todonotes@obeyDraft}
\DeclareOptionX{obeyDraft}{\@todonotes@obeyDrafttrue}
@@ -197,7 +203,7 @@
\if@todonotes@disabled%
\newcommand{\listoftodos}[1][]{}
\newcommand{\todo}[2][]{\ignorespaces}
- \newcommand{\missingfigure}[2]{}
+ \newcommand{\missingfigure}[2][]{}
\else % \if@todonotes@disabled
\newcommand{\listoftodos}[1][\@todonotes@todolistname]
{\section*{#1} \@starttoc{tdo}}