texlive[52553] Master/texmf-dist: datetime2-welsh (28oct19)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 28 21:56:57 CET 2019
Revision: 52553
http://tug.org/svn/texlive?view=revision&revision=52553
Author: karl
Date: 2019-10-28 21:56:57 +0100 (Mon, 28 Oct 2019)
Log Message:
-----------
datetime2-welsh (28oct19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/datetime2-welsh/datetime2-welsh.pdf
trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.dtx
trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.ins
trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf
trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf
trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf
Modified: trunk/Master/texmf-dist/doc/latex/datetime2-welsh/datetime2-welsh.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.dtx 2019-10-28 20:56:32 UTC (rev 52552)
+++ trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.dtx 2019-10-28 20:56:57 UTC (rev 52553)
@@ -19,7 +19,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2015 Nicola Talbot, all rights reserved.
+% Copyright (C) 2015-2019 Nicola Talbot, all rights reserved.
% (New maintainer add relevant lines here.)
% \fi
% \iffalse
@@ -61,11 +61,11 @@
%
%\title{Welsh Module for datetime2 Package}
%\author{Nicola L. C. Talbot (inactive)}
-%\date{2015-03-26 (v1.0)}
+%\date{2019-10-28 (v1.1)}
%\maketitle
%
%This module is currently unmaintained and may be subject to change.
-%If you want to volunteer to take over maintanance, contact me at
+%If you want to volunteer to take over maintenance, contact me at
%\url{http://www.dickimaw-books.com/contact.html}
%
%\begin{abstract}
@@ -99,8 +99,7 @@
%
%Currently there is only a regionless style. New maintainers may
%want to add regional variants "cy-GB"\slash"cy-GB-numeric" and
-%"cy-AR"\slash"cy-AR-numeric" once "cy-GB" and "cy-AR" have been added
-%to \sty{tracklang}. This style currently doesn't check the
+%"cy-AR"\slash"cy-AR-numeric". This style currently doesn't check the
%\opt{showdow} setting.
%
%\StopEventually{%
@@ -123,13 +122,13 @@
%\changes{1.0}{2015-03-26}{Initial release}
% Identify module
% \begin{macrocode}
-\ProvidesDateTimeModule{welsh-utf8}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh-utf8}[2019/10/28 v1.1]
% \end{macrocode}
%\begin{macro}{\DTMwelshordinal}
% \begin{macrocode}
\newcommand*{\DTMwelshordinal}[1]{%
- \number#1
- \ifnum#1=1
+ \number#1 % space intended
+ \ifnum#1=1 % space intended
\DTMwelshfmtordinal{añ}%
\fi
}
@@ -202,7 +201,7 @@
%\changes{1.0}{2015-03-26}{Initial release}
% Identify module
% \begin{macrocode}
-\ProvidesDateTimeModule{welsh-ascii}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh-ascii}[2019/10/28 v1.1]
% \end{macrocode}
%
%If abbreviated dates are supported, short month names should be
@@ -210,8 +209,8 @@
%\begin{macro}{\DTMwelshordinal}
% \begin{macrocode}
\newcommand*{\DTMwelshordinal}[1]{%
- \number#1
- \ifnum#1=1
+ \number#1 % space intended
+ \ifnum#1=1 % space intended
\DTMwelshfmtordsuffix{a\protect\~{n}}%
\fi
}
@@ -277,7 +276,7 @@
%
% Identify Module
% \begin{macrocode}
-\ProvidesDateTimeModule{welsh}[2015/03/26 v1.0]
+\ProvidesDateTimeModule{welsh}[2019/10/28 v1.1]
% \end{macrocode}
% Need to find out if XeTeX or LuaTeX are being used.
% \begin{macrocode}
@@ -364,9 +363,10 @@
% \end{macrocode}
%
% Define a setting to change the ordinal suffix style.
+%\changes{1.1}{2019-10-28}{renamed scratch variables}
% \begin{macrocode}
-\DTMdefchoicekey{welsh}{ord}[\val\nr]{level,raise,omit,sc}{%
- \ifcase\nr\relax
+\DTMdefchoicekey{welsh}{ord}[\@dtm at val\@dtm at nr]{level,raise,omit,sc}{%
+ \ifcase\@dtm at nr\relax
\renewcommand*{\DTMwelshfmtordsuffix}[1]{##1}%
\or
\renewcommand*{\DTMwelshfmtordsuffix}[1]{%
@@ -456,7 +456,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
}%
}%
@@ -523,7 +523,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
}%
}%
@@ -567,6 +567,7 @@
% Redefine \cs{datewelsh} (or \cs{date}\meta{dialect}) to prevent
% \sty{babel} from resetting \cs{today}. (For this to work,
% \sty{babel} must already have been loaded if it's required.)
+%\changes{1.1}{2019-10-28}{removed unwanted space}
% \begin{macrocode}
\ifcsundef{date\CurrentTrackedDialect}
{%
@@ -587,7 +588,7 @@
\DTMifcaseregional
{}% do nothing
{\DTMsetstyle{welsh}}%
- {\DTMsetstyle{welsh-numeric}}
+ {\DTMsetstyle{welsh-numeric}}%
}%
}%
% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.ins 2019-10-28 20:56:32 UTC (rev 52552)
+++ trunk/Master/texmf-dist/source/latex/datetime2-welsh/datetime2-welsh.ins 2019-10-28 20:56:57 UTC (rev 52553)
@@ -3,7 +3,7 @@
\preamble
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
Modified: trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf 2019-10-28 20:56:32 UTC (rev 52552)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-ascii.ldf 2019-10-28 20:56:57 UTC (rev 52553)
@@ -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
}
Modified: trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf 2019-10-28 20:56:32 UTC (rev 52552)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh-utf8.ldf 2019-10-28 20:56:57 UTC (rev 52553)
@@ -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
}
Modified: trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf 2019-10-28 20:56:32 UTC (rev 52552)
+++ trunk/Master/texmf-dist/tex/latex/datetime2-welsh/datetime2-welsh.ldf 2019-10-28 20:56:57 UTC (rev 52553)
@@ -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 at val\@dtm at nr]{level,raise,omit,sc}{%
+ \ifcase\@dtm at 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
More information about the tex-live-commits
mailing list