summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/datetime2-breton
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-05 21:35:56 +0000
committerKarl Berry <karl@freefriends.org>2019-11-05 21:35:56 +0000
commitbc37372594a99affc612160cc16daec4df3079a0 (patch)
tree4430e7b392a7eafaa780be701d0caf07576b77fe /Master/texmf-dist/source/latex/datetime2-breton
parent7a109f9d569e3259a63e0af9177180ca1d359b68 (diff)
datetime2-breton (5nov19)
git-svn-id: svn://tug.org/texlive/trunk@52647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/datetime2-breton')
-rw-r--r--Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx27
-rw-r--r--Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.ins2
2 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx b/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx
index 5af0e7b515d..8aefd689ddc 100644
--- a/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx
+++ b/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx
@@ -19,7 +19,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2018 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{Breton Module for datetime2 Package}
%\author{Nicola L. C. Talbot (inactive)}
-%\date{2018-03-19 (v1.1)}
+%\date{2019-11-05 (v1.2)}
%\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}
@@ -86,8 +86,8 @@
%I don't know if these settings are correct as I can't speak Breton.
%In particular, I don't know if the "breton" time style is
%correct. Currently this just uses the "default" time style. Please
-%be aware that this may change. Whoever takes over maintanance
-%of this module may can change it as appropriate.
+%be aware that this may change. Whoever takes over maintenance
+%of this module may change it as appropriate.
%
%The new maintainer should add the line:
%\begin{verbatim}
@@ -119,7 +119,7 @@
%\changes{1.0}{2015-03-29}{Initial release}
% Identify module
% \begin{macrocode}
-\ProvidesDateTimeModule{breton-utf8}[2018/03/19 v1.1]
+\ProvidesDateTimeModule{breton-utf8}[2019/11/05 v1.2]
% \end{macrocode}
%\begin{macro}{\DTMbretonordinal}
% \begin{macrocode}
@@ -198,7 +198,7 @@
%\changes{1.0}{2015-03-29}{Initial release}
% Identify module
% \begin{macrocode}
-\ProvidesDateTimeModule{breton-ascii}[2018/03/19 v1.1]
+\ProvidesDateTimeModule{breton-ascii}[2019/11/05 v1.2]
% \end{macrocode}
%
%If abbreviated dates are supported, short month names should be
@@ -273,7 +273,7 @@
%
% Identify Module
% \begin{macrocode}
-\ProvidesDateTimeModule{breton}[2018/03/19 v1.1]
+\ProvidesDateTimeModule{breton}[2019/11/05 v1.2]
% \end{macrocode}
% Need to find out if XeTeX or LuaTeX are being used.
% \begin{macrocode}
@@ -360,9 +360,10 @@
% \end{macrocode}
%
% Define a setting to change the ordinal suffix style.
+%\changes{1.2}{2019-11-05}{renamed scratch variables to avoid conflict}
% \begin{macrocode}
-\DTMdefchoicekey{breton}{ord}[\val\nr]{level,raise,omit,sc}{%
- \ifcase\nr\relax
+\DTMdefchoicekey{breton}{ord}[\@dtm@val\@dtm@nr]{level,raise,omit,sc}{%
+ \ifcase\@dtm@nr\relax
\renewcommand*{\DTMbretonfmtordsuffix}[1]{##1}%
\or
\renewcommand*{\DTMbretonfmtordsuffix}[1]{%
@@ -439,7 +440,7 @@
\DTMifbool{breton}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi
}%
}%
@@ -484,7 +485,7 @@
}%
{% time style
\renewcommand*\DTMdisplaytime[3]{%
- \number##1
+ \number##1 % space intended
\DTMbretontimesep\DTMtwodigits{##2}%
\ifDTMshowseconds\DTMbretontimesep\DTMtwodigits{##3}\fi
}%
@@ -496,7 +497,7 @@
\DTMifbool{breton}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi
}%
}%
diff --git a/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.ins b/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.ins
index 93da959d284..9ca510ba20d 100644
--- a/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.ins
+++ b/Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.ins
@@ -3,7 +3,7 @@
\preamble
datetime2-breton.dtx
- Copyright 2018 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