From 7f549680dc21a5a0b6c80ce7b1252b232d8535ff Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Dec 2006 00:12:18 +0000 Subject: datetime update (7dec06) git-svn-id: svn://tug.org/texlive/trunk@2623 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/datetime/dt-usorbian.def | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/datetime/dt-usorbian.def') diff --git a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def index 2d9b625ad18..ee23e698ff8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% datetime.dtx (with options: `dt-usorbian.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-usorbian.def}[2004/10/31] - \providecommand{\monthnamenewusorbian}[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 januara% \or februara% \or m\v erca% @@ -44,13 +44,14 @@ \or oktobra% \or nowembra% \or decembra% -\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} - \providecommand{\monthnameoldusorbian}[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 wulkeho r\'o\v zka% \or ma\l eho r\'o\v zka% \or nal\v etnika% @@ -65,19 +66,15 @@ \or hodownika% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 to 12}% \fi} - \let\monthnameusorbian=\monthnamenewusorbian - \DeclareRobustCommand*\newdateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnamenewusorbian[\@month]\space\number\@year}} - \DeclareRobustCommand*\olddateusorbian{% \renewcommand{\formatdate}[3]{% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnameoldusorbian[\@month]\space\number\@year}} - \let\dateusorbian\newdateusorbian \endinput %% -- cgit v1.2.3