From d2b204729511d50fb88a8797f872c7a0ff01a9f6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 20 Nov 2009 18:18:54 +0000 Subject: todonotes update (24oct09) git-svn-id: svn://tug.org/texlive/trunk@16105 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/todonotes/todonotes.pdf | Bin 202610 -> 203519 bytes .../doc/latex/todonotes/todonotesexample.pdf | Bin 28044 -> 28184 bytes .../source/latex/todonotes/todonotes.dtx | 37 +++++++++++++++++---- .../texmf-dist/tex/latex/todonotes/todonotes.sty | 14 +++++++- Master/tlpkg/libexec/ctan2tds | 1 + 5 files changed, 45 insertions(+), 7 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf b/Master/texmf-dist/doc/latex/todonotes/todonotes.pdf index 28004f9550b..eee0a212e47 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 467925159d2..6772a5926c5 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 f657f12166f..5e6063bcc28 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> - [2009/08/01 .dtx Todonotes source and documentation.] + [2009/10/24 .dtx Todonotes source and documentation.] % % %<*driver> \documentclass{ltxdoc} \usepackage{wrapfig} \usepackage[colorlinks, linkcolor=black]{hyperref} -\usepackage[colorinlistoftodos, shadow]{todonotes}[2009/08/01] +\usepackage[colorinlistoftodos, shadow]{todonotes}[2009/10/24] \usepackage{amsmath} \usepackage{setspace} \setcounter{tocdepth}{2} @@ -46,7 +46,7 @@ % % \fi % -% \CheckSum{415} +% \CheckSum{425} % % \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 @@ -141,6 +141,9 @@ % \changes{0.8.5}{2009/08/01}{Added two new usecases (enumeration of % inserted todonotes and how to set custom default values). % Changed the order of the use case examples.} +% \changes{0.8.6}{2009/08/05}{Added a portuguese translation by Og DeSouza.} +% \changes{0.8.7}{2009/10/24}{Updated portuguese translation. Added a ngerman +% alias for the german translation suggested by Michael Niedermair.} % % \GetFileInfo{todonotes.dtx} % @@ -238,12 +241,22 @@ % functionality of the package is enabled and otherwise the effect % of the package is disabled. % -% \DescribeMacro{danish, german, french} +% \DescribeMacro{danish, german, ngerman, french} % \DescribeMacro{spanish, catalan, italian} -% Use the danish or german translations of the text strings +% \DescribeMacro{portuguese} +% Use translations of the text strings % ''List of todos'' and ''Missing figure''. % The default is to use none of these options, which results in % english text strings. +% Currently the following languages are supported: +% catalan, +% danish, +% french, +% german, +% ngerman, +% italian, +% portuguese and +% spanish. % % \DescribeMacro{colorinlistoftodos} % Adds a small colored square in front of all items in the Todo @@ -254,7 +267,7 @@ % the inserted todonote marks the type of todo. % % \DescribeMacro{color} -% \DescribeMacro{backgrouncolor} +% \DescribeMacro{backgroundcolor} % \DescribeMacro{linecolor} % \DescribeMacro{bordercolor} % These options sets the default colors for the todo command. @@ -886,6 +899,12 @@ \@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{french}{% \@todonotes@SetTodoListName{Liste des points \`a traiter}% \@todonotes@SetMissingFigureText{Figure}% @@ -911,6 +930,12 @@ \@todonotes@SetMissingFigureUp{Figura}% \@todonotes@SetMissingFigureDown{mancante}% } +\DeclareOptionX{portuguese}{ + \@todonotes@SetTodoListName{Lista de tarefas pendentes}% + \@todonotes@SetMissingFigureText{Figura}% + \@todonotes@SetMissingFigureUp{Figura}% + \@todonotes@SetMissingFigureDown{pendente}% +} % \end{macrocode} % Create a counter, for storing the number of inserted todos. % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/todonotes/todonotes.sty b/Master/texmf-dist/tex/latex/todonotes/todonotes.sty index e1122c3cbae..6e169bce4a4 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/08/01 .dtx Todonotes source and documentation.] + [2009/10/24 .dtx Todonotes source and documentation.] \ProvidesPackage{todonotes}[2009/04/02] \RequirePackage{ifthen} @@ -68,6 +68,12 @@ \@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{french}{% \@todonotes@SetTodoListName{Liste des points \`a traiter}% \@todonotes@SetMissingFigureText{Figure}% @@ -93,6 +99,12 @@ \@todonotes@SetMissingFigureUp{Figura}% \@todonotes@SetMissingFigureDown{mancante}% } +\DeclareOptionX{portuguese}{ + \@todonotes@SetTodoListName{Lista de tarefas pendentes}% + \@todonotes@SetMissingFigureText{Figura}% + \@todonotes@SetMissingFigureUp{Figura}% + \@todonotes@SetMissingFigureDown{pendente}% +} \newcounter{@todonotes@numberoftodonotes} \newif{\if@todonotes@obeyDraft} \DeclareOptionX{obeyDraft}{\@todonotes@obeyDrafttrue} diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index b4c00955bb8..a287b93bfe8 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1228,6 +1228,7 @@ $standardins='\.ins'; 'polski' => 'latex', # requires interaction 'psfragx' => 'latex', # requires interaction 'svn-multi' => 'latex', # interaction for .pl + 'todonotes' => 'latex', # requires interaction 'xecjk' => 'xecjk-xelatex', ); $standardinsrunner="latex -interaction=nonstopmode"; -- cgit v1.2.3