summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/datetime2-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-06 03:00:54 +0000
committerNorbert Preining <norbert@preining.info>2019-11-06 03:00:54 +0000
commit590fd8b560523cdaea19c59aea61e781138e87f8 (patch)
tree0da2c5c68b4f6860feef746ecf9e8b76157c80bb /macros/latex/contrib/datetime2-contrib
parenta78951f836b9edaab2dd593f38e33732f0d03cbd (diff)
CTAN sync 201911060300
Diffstat (limited to 'macros/latex/contrib/datetime2-contrib')
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.dtx27
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.ins2
-rw-r--r--macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.pdfbin281164 -> 281850 bytes
3 files changed, 15 insertions, 14 deletions
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.dtx b/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.dtx
index 5af0e7b515..8aefd689dd 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.dtx
+++ b/macros/latex/contrib/datetime2-contrib/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/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.ins b/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.ins
index 93da959d28..9ca510ba20 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.ins
+++ b/macros/latex/contrib/datetime2-contrib/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
diff --git a/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.pdf b/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.pdf
index 55340962c1..3942e3f91c 100644
--- a/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.pdf
+++ b/macros/latex/contrib/datetime2-contrib/datetime2-breton/datetime2-breton.pdf
Binary files differ