diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/datetime2-breton/datetime2-breton.dtx | 27 |
1 files changed, 14 insertions, 13 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 }% }% |