summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-welsh.def')
-rw-r--r--Master/texmf-dist/tex/latex/datetime/dt-welsh.def13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
index c65ba5d41d3..332c96fb410 100644
--- a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
+++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% datetime.dtx (with options: `dt-welsh.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-welsh.def}[2004/10/31]
-
\providecommand{\monthnamewelsh}[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 Ionawr%
\or Chwefror%
\or Mawrth%
@@ -44,14 +44,15 @@
\or Hydref%
\or Tachwedd%
\or Rhagfyr%
-\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*\datewelsh{%
\renewcommand{\formatdate}[3]{%
\@day=##1\relax\@month=##2\relax\@year=##3\relax
\ifnum\@day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else
-\number\@day\fi \space a\space viz\space\monthnamewelsh[\@month]\space\number\@year}}
+\number\@day\fi \space a\space viz\space
+\monthnamewelsh[\@month]\space\number\@year}}
\endinput
%%
%% End of file `dt-welsh.def'.