summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime/dt-catalan.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-catalan.def')
-rw-r--r--Master/texmf-dist/tex/latex/datetime/dt-catalan.def19
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def
index 56b4be92067..b3a6a5e39a5 100644
--- a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def
+++ b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% datetime.dtx (with options: `dt-catalan.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-catalan.def}[2004/10/31]
-
\providecommand{\monthnamecatalan}[1][\month]{%
\@orgargctr=#1\relax
\ifcase\@orgargctr
-\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
\or de gener%
\or de febrer%
\or de mar\c{c}%
@@ -44,13 +44,15 @@
\or d'octubre%
\or de novembre%
\or de desembre%
-\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
\fi}
-
\providecommand{\shortmonthnamecatalan}[1][\month]{%
\@orgargctr=#1\relax
\ifcase\@orgargctr
-\PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
\or de gener%
\or de febrer%
\or de mar\c{c}%
@@ -63,9 +65,10 @@
\or d'octubre%
\or de novembre%
\or de desembre%
-\else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{Month numbers should go from 1 (de gener) to 12 (de desembre)}%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (de gener) to 12 (de desembre)}%
\fi}
-
\DeclareRobustCommand*\datecatalan{%
\renewcommand{\formatdate}[3]{%
\@day=##1\relax\@month=##2\relax\@year=##3\relax