diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-portuges.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime/dt-portuges.def | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def index ae22448faf6..8a53bdbec5e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-portuges.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,7 +27,6 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{dt-portuges.def}[2004/10/31] - \providecommand{\dayofweeknameidportuges}[1]{% \ifcase#1\relax \or domingo% @@ -38,11 +37,11 @@ \or sexta-feira% \or sabado% \fi} - \providecommand{\monthnameportuges}[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 Janeiro% \or Fevereiro% \or Mar\c{c}o% @@ -55,13 +54,15 @@ \or Outubro% \or Novembro% \or Dezembro% -\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*\dateportuges{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\number\@day\space de\space\monthnameportuges[\@month]\space de\space\number\@year}} +\number\@day\space de\space\monthnameportuges[\@month]\space +de\space\number\@year}} \endinput %% %% End of file `dt-portuges.def'. |