texlive[52480] Master/texmf-dist: datetime2 (21oct19)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 21 23:01:03 CEST 2019
Revision: 52480
http://tug.org/svn/texlive?view=revision&revision=52480
Author: karl
Date: 2019-10-21 23:01:02 +0200 (Mon, 21 Oct 2019)
Log Message:
-----------
datetime2 (21oct19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES
trunk/Master/texmf-dist/doc/latex/datetime2/README
trunk/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins
trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES 2019-10-21 21:01:02 UTC (rev 52480)
@@ -1,3 +1,7 @@
+1.5.4 (2019-10-21):
+
+ * renamed scratch variables to avoid conflict
+
1.5.3 (2018-07-20):
* Bug fix: removed unwanted \relax inserted in negative time zones
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/datetime2/README 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/doc/latex/datetime2/README 2019-10-21 21:01:02 UTC (rev 52480)
@@ -1,6 +1,6 @@
-LaTeX Package : datetime2 v1.5.3
+LaTeX Package : datetime2 v1.5.4
-Last Modified : 2018-07-20
+Last Modified : 2019-10-21
Author : Nicola Talbot
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx 2019-10-21 21:01:02 UTC (rev 52480)
@@ -3,11 +3,11 @@
% Command line args:
% -src "datetime2.sty\Z=>datetime2.sty"
% -src "datetime2-calc.sty\Z=>datetime2-calc.sty"
-% -author "Nicola Talbot"
% -doc "datetime2-manual.tex"
% -section "chapter"
+% -author "Nicola Talbot"
% datetime2
-% Created on 2018/7/20 12:36
+% Created on 2019/10/21 11:37
%\fi
%\iffalse
%<*package>
@@ -30,7 +30,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2018 Nicola Talbot, all rights reserved.
+% Copyright (C) 2019 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
@@ -91,11 +91,11 @@
%
%\MakeShortVerb{"}
%
-%\title{datetime2 v1.5.3:
+%\title{datetime2 v1.5.4:
%date and time formats}
%\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
%
-%\date{2018-07-20}
+%\date{2019-10-21}
%\maketitle
%
%\begin{abstract}
@@ -5686,7 +5686,7 @@
%\changes{1.0}{2015-03-24}{Initial release}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2}[2018/07/20 v1.5.3 (NLCT) date and time formats]
+\ProvidesPackage{datetime2}[2019/10/21 v1.5.4 (NLCT) date and time formats]
% \end{macrocode}
% Use \sty{tracklang} to find out what languages have been loaded.
% \begin{macrocode}
@@ -5985,11 +5985,12 @@
%\begin{option}{useregional}
% Setting to determine whether or not to use the regional
% settings (if any are loaded).
+%\changes{1.5.4}{2019-10-21}{renamed scratch variables}
% \begin{macrocode}
-\define at choicekey{datetime2.sty}{useregional}[\val\nr]%
+\define at choicekey{datetime2.sty}{useregional}[\@dtm at useregional@val\@dtm at useregional@nr]%
{false,text,numeric,num}[text]%
{%
- \ifcase\nr\relax
+ \ifcase\@dtm at useregional@nr\relax
\renewcommand*{\DTMifcaseregional}[3]{##1}%
\or
\renewcommand*{\DTMifcaseregional}[3]{##2}%
@@ -8861,7 +8862,7 @@
%\section{datetime2-calc.sty code}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2-calc}[2018/07/20 v1.5.3 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2019/10/21 v1.5.4 (NLCT)]
% \end{macrocode}
% Load other required packages
% \begin{macrocode}
@@ -9430,7 +9431,7 @@
%These are shared with the \sty{locale} package, so they may already
%be defined.
%\begin{macro}{\dtmMondayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmMondayIndex{0}
% \end{macrocode}
@@ -9437,7 +9438,7 @@
%\end{macro}
%
%\begin{macro}{\dtmTuesdayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmTuesdayIndex{1}
% \end{macrocode}
@@ -9444,7 +9445,7 @@
%\end{macro}
%
%\begin{macro}{\dtmWednesdayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmWednesdayIndex{2}
% \end{macrocode}
@@ -9451,7 +9452,7 @@
%\end{macro}
%
%\begin{macro}{\dtmThursdayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmThursdayIndex{3}
% \end{macrocode}
@@ -9458,7 +9459,7 @@
%\end{macro}
%
%\begin{macro}{\dtmFridayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmFridayIndex{4}
% \end{macrocode}
@@ -9465,7 +9466,7 @@
%\end{macro}
%
%\begin{macro}{\dtmSaturdayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmSaturdayIndex{5}
% \end{macrocode}
@@ -9472,7 +9473,7 @@
%\end{macro}
%
%\begin{macro}{\dtmSundayIndex}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
% \begin{macrocode}
\def\dtmSundayIndex{6}
% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins 2019-10-21 21:01:02 UTC (rev 52480)
@@ -1,10 +1,10 @@
-% datetime2.ins generated using makedtx version 1.2 2018/7/20 12:36
+% datetime2.ins generated using makedtx version 1.2 2019/10/21 11:37
\input docstrip
\preamble
datetime2.dtx
- Copyright 2018 Nicola Talbot
+ Copyright 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/datetime2-calc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty 2019-10-21 21:01:02 UTC (rev 52480)
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2-calc.sty,package')
%%
%% datetime2.dtx
-%% Copyright 2018 Nicola Talbot
+%% Copyright 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 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2-calc}[2018/07/20 v1.5.3 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2019/10/21 v1.5.4 (NLCT)]
\RequirePackage{pgfkeys}
\RequirePackage{pgfcalendar}
\newcount\@dtm at julianday
Modified: trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty 2019-10-21 21:00:42 UTC (rev 52479)
+++ trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty 2019-10-21 21:01:02 UTC (rev 52480)
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2.sty,package')
%%
%% datetime2.dtx
-%% Copyright 2018 Nicola Talbot
+%% Copyright 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 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2}[2018/07/20 v1.5.3 (NLCT) date and time formats]
+\ProvidesPackage{datetime2}[2019/10/21 v1.5.4 (NLCT) date and time formats]
\RequirePackage{tracklang}
\RequirePackage{etoolbox}
\RequirePackage{xkeyval}[2006/11/18]
@@ -129,10 +129,10 @@
\define at boolkey{datetime2.sty}[DTM]{showzoneminutes}[true]{}
\DTMshowzoneminutestrue
\newcommand*{\DTMifcaseregional}[3]{#1}
-\define at choicekey{datetime2.sty}{useregional}[\val\nr]%
+\define at choicekey{datetime2.sty}{useregional}[\@dtm at useregional@val\@dtm at useregional@nr]%
{false,text,numeric,num}[text]%
{%
- \ifcase\nr\relax
+ \ifcase\@dtm at useregional@nr\relax
\renewcommand*{\DTMifcaseregional}[3]{##1}%
\or
\renewcommand*{\DTMifcaseregional}[3]{##2}%
More information about the tex-live-commits
mailing list