diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-breton.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime/dt-breton.def | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-breton.def b/Master/texmf-dist/tex/latex/datetime/dt-breton.def index e1afea9bcdb..120cea4de83 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-breton.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-breton.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-breton.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-breton.def}[2004/10/31] - \providecommand{\monthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \or Genver% \or C'hwevrer% \or Meurzh% @@ -44,13 +44,15 @@ \or Here% \or Du% \or Kerzu% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \fi} - \providecommand{\shortmonthnamebreton}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr -\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \or Genver% \or C'hwevrer% \or Meurzh% @@ -63,14 +65,16 @@ \or Here% \or Du% \or Kerzu% -\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (Genver) to 12 (Kerzu)}% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (Genver) to 12 (Kerzu)}% \fi} - \DeclareRobustCommand*\datebreton{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax -\ifnum\@day=1\relax 1\/\textsuperscript{a\~n}\else\number\@day\fi\space -a\space viz\space\monthnamebreton[\@month]\space\number\@year +\ifnum\@day=1\relax 1\/\textsuperscript{a\~n}\else\number\@day\fi +\space a\space viz\space\monthnamebreton[\@month]\space +\number\@year }} \endinput %% |