From a0a6c9380d72654c67032aeaa639e1d4c54bbfad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 31 Dec 2009 01:35:29 +0000 Subject: todonotes update (26dec09) git-svn-id: svn://tug.org/texlive/trunk@16544 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 56 ++++++++++++---------- 1 file changed, 31 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist/tex/latex/todonotes') 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}} -- cgit v1.2.3