summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-08 00:12:18 +0000
committerKarl Berry <karl@freefriends.org>2006-12-08 00:12:18 +0000
commit7f549680dc21a5a0b6c80ce7b1252b232d8535ff (patch)
tree8f8fd8be391bd9e650d01094a09fc16e1602ab53 /Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
parent71ba36e9c3d9def1d38c13384caf3b3737c1b188 (diff)
datetime update (7dec06)
git-svn-id: svn://tug.org/texlive/trunk@2623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def')
-rw-r--r--Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
index 00b94ea8447..03e48c061fb 100644
--- a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
+++ b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% datetime.dtx (with options: `dt-lsorbian.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-lsorbian.def}[2004/10/31]
-
\providecommand{\monthnamenewlsorbian}[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,15 @@
\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{\monthnameoldlsorbian}[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 wjelikego ro\v zka%
\or ma\l ego ro\v zka%
\or nal\v etnika%
@@ -63,21 +65,19 @@
\or winowca%
\or nazymnika%
\or godownika%
-\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}
-
\let\monthnamelsorbian=\monthnamenewlsorbian
-
\DeclareRobustCommand*\newdatelsorbian{%
\renewcommand{\formatdate}[3]{%
\@day=##1\relax\@month=##2\relax\@year=##3\relax
\number\@day.~\monthnamenewlsorbian[\@month]\space\number\@year}}
-
\DeclareRobustCommand*\olddatelsorbian{%
\renewcommand{\formatdate}[3]{%
\@day=##1\relax\@month=##2\relax\@year=##3\relax
\number\@day.~\monthnameoldlsorbian[\@month]\space\number\@year}}
-
\let\datelsorbian\newdatelsorbian
\endinput
%%