summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-28 20:56:57 +0000
committerKarl Berry <karl@freefriends.org>2019-10-28 20:56:57 +0000
commit9f536ae74be656fcaffd73428023c8084f372fea (patch)
treebab7285da4d1ad29816bc172f739bef7b1bd6c04 /Master/texmf-dist/tex
parent2328306ff9c66f9ff807295818a06b3e3277331b (diff)
datetime2-welsh (28oct19)
git-svn-id: svn://tug.org/texlive/trunk@52553 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf8
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf14
3 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf
index 8082a4d49c9..7c7a7294764 100644
--- a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf
@@ -7,7 +7,7 @@
%% datetime2-welsh.dtx (with options: `datetime2-welsh-ascii.ldf,package')
%%
%% datetime2-welsh.dtx
-%% Copyright 2015 Nicola Talbot
+%% Copyright 2015-2019 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,10 +39,10 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{welsh-ascii}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh-ascii}[2019/10/28 v1.1]
\newcommand*{\DTMwelshordinal}[1]{%
- \number#1
- \ifnum#1=1
+ \number#1 % space intended
+ \ifnum#1=1 % space intended
\DTMwelshfmtordsuffix{a\protect\~{n}}%
\fi
}
diff --git a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf
index 387f1688f16..dd6b44e27e9 100644
--- a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf
@@ -7,7 +7,7 @@
%% datetime2-welsh.dtx (with options: `datetime2-welsh-utf8.ldf,package')
%%
%% datetime2-welsh.dtx
-%% Copyright 2015 Nicola Talbot
+%% Copyright 2015-2019 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,10 +39,10 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{welsh-utf8}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh-utf8}[2019/10/28 v1.1]
\newcommand*{\DTMwelshordinal}[1]{%
- \number#1
- \ifnum#1=1
+ \number#1 % space intended
+ \ifnum#1=1 % space intended
\DTMwelshfmtordinal{aƱ}%
\fi
}
diff --git a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf
index 6e67004478d..9d2d2227761 100644
--- a/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf
@@ -7,7 +7,7 @@
%% datetime2-welsh.dtx (with options: `datetime2-welsh.ldf,package')
%%
%% datetime2-welsh.dtx
-%% Copyright 2015 Nicola Talbot
+%% Copyright 2015-2019 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -39,7 +39,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{welsh}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh}[2019/10/28 v1.1]
\RequirePackage{ifxetex,ifluatex}
\ifxetex
\RequireDateTimeModule{welsh-utf8}
@@ -62,8 +62,8 @@
\DTMdefkey{welsh}{timezonesep}{\renewcommand*{\DTMwelshtimezonesep}{#1}}
\DTMdefkey{welsh}{datesep}{\renewcommand*{\DTMwelshdatesep}{#1}}
\DTMdefkey{welsh}{timesep}{\renewcommand*{\DTMwelshtimesep}{#1}}
-\DTMdefchoicekey{welsh}{ord}[\val\nr]{level,raise,omit,sc}{%
- \ifcase\nr\relax
+\DTMdefchoicekey{welsh}{ord}[\@dtm@val\@dtm@nr]{level,raise,omit,sc}{%
+ \ifcase\@dtm@nr\relax
\renewcommand*{\DTMwelshfmtordsuffix}[1]{##1}%
\or
\renewcommand*{\DTMwelshfmtordsuffix}[1]{%
@@ -121,7 +121,7 @@
\DTMifbool{welsh}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMwelshtimesep\DTMtwodigits{##2}\fi
}%
}%
@@ -184,7 +184,7 @@
\DTMifbool{welsh}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMwelshtimesep\DTMtwodigits{##2}\fi
}%
}%
@@ -231,7 +231,7 @@
\DTMifcaseregional
{}% do nothing
{\DTMsetstyle{welsh}}%
- {\DTMsetstyle{welsh-numeric}}
+ {\DTMsetstyle{welsh-numeric}}%
}%
}%
\endinput