diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-esperanto.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime/dt-esperanto.def | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def index fc0bc9290a0..098ca7b7f83 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-esperanto.def,package') -%% Copyright (C) 2005 Nicola Talbot, all rights reserved. +%% Copyright (C) 2006 Nicola Talbot, all rights reserved. %% If you modify this file, you must change its name first. %% You are NOT ALLOWED to distribute this file alone. You are NOT %% ALLOWED to take money for the distribution or use of either this @@ -27,11 +27,11 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-esperanto.def}[2004/10/31] - \providecommand{\monthnameesperanto}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \or januaro% \or februaro% \or marto% @@ -44,13 +44,15 @@ \or oktobro% \or novembro% \or decembro% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 to 12}% \fi} - \DeclareRobustCommand*\dateesperanto{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day{--a}~de~\monthnameesperanto[\@month],\space \number\@year}} +\number\@day{--a}~de~\monthnameesperanto[\@month],\space +\number\@year}} \endinput %% %% End of file `dt-esperanto.def'. |