summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-21 21:44:06 +0000
committerKarl Berry <karl@freefriends.org>2021-03-21 21:44:06 +0000
commit0ff9026049fe57d6a2b4d8275cb43490e2848095 (patch)
tree36d5313087758d6b78e2c1bcbe3871636e002f40
parent37bec1919654a09195f7aa5875ce70b73be4426d (diff)
datetime2 (21mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58597 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/CHANGES6
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/README4
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/datetime2.pdfbin689514 -> 689821 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdfbin72816 -> 73065 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdfbin28789 -> 28789 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdfbin16656 -> 16347 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdfbin61979 -> 61911 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdfbin100521 -> 100628 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdfbin53853 -> 53910 bytes
-rw-r--r--Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdfbin7300 -> 7023 bytes
-rw-r--r--Master/texmf-dist/source/latex/datetime2/datetime2.dtx37
-rw-r--r--Master/texmf-dist/source/latex/datetime2/datetime2.ins4
-rw-r--r--Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty16
-rw-r--r--Master/texmf-dist/tex/latex/datetime2/datetime2.sty4
14 files changed, 38 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2/CHANGES b/Master/texmf-dist/doc/latex/datetime2/CHANGES
index a54d101afb0..1ea1ff09a2d 100644
--- a/Master/texmf-dist/doc/latex/datetime2/CHANGES
+++ b/Master/texmf-dist/doc/latex/datetime2/CHANGES
@@ -1,6 +1,10 @@
+1.5.7 (2021-03-21):
+
+ * Bug fix: (datetime2-calc.sty) removed spurious space in \DTMsaveddatediff
+
1.5.6 (2020-03-02):
- * removed spurious space in \DTMsetregional
+ * Bug fix: removed spurious space in \DTMsetregional
1.5.5 (2019-11-11):
diff --git a/Master/texmf-dist/doc/latex/datetime2/README b/Master/texmf-dist/doc/latex/datetime2/README
index 57a791fbfd0..422fcba5b85 100644
--- a/Master/texmf-dist/doc/latex/datetime2/README
+++ b/Master/texmf-dist/doc/latex/datetime2/README
@@ -1,4 +1,4 @@
-LaTeX Package : datetime2 v1.5.6 (2020-03-02)
+LaTeX Package : datetime2 v1.5.7 (2021-03-21)
Author : Nicola Talbot
https://www.dickimaw-books.com/contact
@@ -9,7 +9,7 @@ This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/license/lppl1.3
for the details of that license.
-Copyright 2015-2020 Nicola Talbot
+Copyright 2015-2021 Nicola Talbot
Provides commands for formatting dates, times and time zones.
Language and regional support is provided by independently
diff --git a/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf b/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
index 966a0db7fd7..b2ae37079f6 100644
--- a/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
index b7849f63d51..94d738b0845 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
index 59971da2cd5..275b33d42dd 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
index 367d4501ffc..a58bab75fdb 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
index 2d34a25ff5b..6d795329670 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
index d74f12ea02f..e41c059cc4c 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
index 18041e0d3ad..4b031f62482 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
index 785a6e2d391..60f0aad7156 100644
--- a/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
+++ b/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/datetime2/datetime2.dtx b/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
index ffdbdcbb740..58a962ba9f8 100644
--- a/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
+++ b/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
@@ -1,13 +1,13 @@
%\iffalse
% datetime2.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -author "Nicola Talbot"
% -section "chapter"
% -src "datetime2.sty\Z=>datetime2.sty"
% -src "datetime2-calc.sty\Z=>datetime2-calc.sty"
+% -author "Nicola Talbot"
% -doc "datetime2-manual.tex"
% datetime2
-% Created on 2020/3/2 15:47
+% Created on 2021/3/21 11:13
%\fi
%\iffalse
%<*package>
@@ -30,7 +30,7 @@
%\fi
% \iffalse
% Doc-Source file to use with LaTeX2e
-% Copyright (C) 2020 Nicola Talbot, all rights reserved.
+% Copyright (C) 2021 Nicola Talbot, all rights reserved.
% \fi
% \iffalse
%<*driver>
@@ -91,11 +91,11 @@
%
%\MakeShortVerb{"}
%
-%\title{datetime2 v1.5.6:
+%\title{datetime2 v1.5.7:
%date and time formats}
%\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}}
%
-%\date{2020-03-02}
+%\date{2021-03-21}
%\maketitle
%
%\begin{abstract}
@@ -5733,7 +5733,7 @@
%\changes{1.0}{2015-03-24}{Initial release}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2}[2020/03/02 v1.5.6 (NLCT) date and time formats]
+\ProvidesPackage{datetime2}[2021/03/21 v1.5.7 (NLCT) date and time formats]
% \end{macrocode}
% Use \sty{tracklang} to find out what languages have been loaded.
% \begin{macrocode}
@@ -6577,7 +6577,7 @@
%\end{macro}
%
%\begin{macro}{\DTMtoday}
-%\changes{2016-02-11}{1.4}{new}
+%\changes{1.4}{2016-02-11}{new}
% Provided in case of conflict to obtain \styfmt{datetime2}'s
% version of \cs{today}.
% \begin{macrocode}
@@ -6592,7 +6592,7 @@
%\end{macro}
%
%\begin{macro}{\today}
-%\changes{2016-02-11}{1.4}{no longer using \cs{renewcommand}}
+%\changes{1.4}{2016-02-11}{no longer using \cs{renewcommand}}
% Version 1.4 dropped \cs{renewcommand} in case
% \cs{today} hasn't already been defined.
% \begin{macrocode}
@@ -6608,7 +6608,7 @@
%
%\begin{macro}{\DTMToday}
% First letter upper case version.
-%\changes{2016-02-11}{1.4}{new}
+%\changes{1.4}{2016-02-11}{new}
% Added to v1.4 to provide \sty{datetime2}'s version in case of
% conflict.
% \begin{macrocode}
@@ -8448,7 +8448,7 @@
%\end{macro}
%
%\begin{macro}{\DTMsavenow}
-%\changes{1.5.3}{??}{new}
+%\changes{1.5.3}{2018-07-20}{new}
%Save the date-time stamp in PDF format.
% \begin{macrocode}
\newrobustcmd*{\DTMsavepdftimestamp}[2]{%
@@ -8981,7 +8981,7 @@
%\section{datetime2-calc.sty code}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2-calc}[2020/03/02 v1.5.6 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2021/03/21 v1.5.7 (NLCT)]
% \end{macrocode}
% Load other required packages
% \begin{macrocode}
@@ -9055,7 +9055,7 @@
\pgfcalendardatetojulian
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#2}%
}%
}
@@ -9078,7 +9078,7 @@
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
-\csname @dtm@#1@day\endcsname
- +#2}
+ +#2}%
{#3}%
}%
}
@@ -9097,7 +9097,7 @@
\pgfcalendarifdate
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#2}{#3}{#4}%
}%
}
@@ -9107,6 +9107,7 @@
%\begin{macro}{\DTMsaveddatediff}
% Computes the difference between two saved dates. The result is
% stored in the third argument, which should be a count register.
+%\changes{1.5.7}{2021-03-21}{removed spurious space}
% \begin{macrocode}
\newrobustcmd*{\DTMsaveddatediff}[3]{%
\ifcsundef{@dtm@#1@year}%
@@ -9122,15 +9123,15 @@
\pgfcalendardatetojulian
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#3}%
\pgfcalendardatetojulian
{\csname @dtm@#2@year\endcsname
-\csname @dtm@#2@month\endcsname
- -\csname @dtm@#2@day\endcsname}
+ -\csname @dtm@#2@day\endcsname}%
{\@dtm@julianday}%
\advance#3 by -\@dtm@julianday\relax
- }
+ }%
}%
}
% \end{macrocode}
@@ -9537,7 +9538,7 @@
% This is for standalone use and shouldn't be used in any date
% styles (since the day of week index is already supplied).
% The result is stored in the supplied control sequence.
-%\changes{2016-02-11}{1.4}{new}
+%\changes{1.4}{2016-02-11}{new}
% \begin{macrocode}
\newrobustcmd*{\DTMcomputedayofweekindex}[2]{%
\pgfcalendardatetojulian{#1}{\@dtm@julianday}%
diff --git a/Master/texmf-dist/source/latex/datetime2/datetime2.ins b/Master/texmf-dist/source/latex/datetime2/datetime2.ins
index 5a7977172b8..3f50c0a6e36 100644
--- a/Master/texmf-dist/source/latex/datetime2/datetime2.ins
+++ b/Master/texmf-dist/source/latex/datetime2/datetime2.ins
@@ -1,10 +1,10 @@
-% datetime2.ins generated using makedtx version 1.2 2020/3/2 15:47
+% datetime2.ins generated using makedtx version 1.2 2021/3/21 11:13
\input docstrip
\preamble
datetime2.dtx
- Copyright 2020 Nicola Talbot
+ Copyright 2021 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/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
index 3a233c336a7..67ffb1a3c49 100644
--- a/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
+++ b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2-calc.sty,package')
%%
%% datetime2.dtx
-%% Copyright 2020 Nicola Talbot
+%% Copyright 2021 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}[2020/03/02 v1.5.6 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2021/03/21 v1.5.7 (NLCT)]
\RequirePackage{pgfkeys}
\RequirePackage{pgfcalendar}
\newcount\@dtm@julianday
@@ -76,7 +76,7 @@
\pgfcalendardatetojulian
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#2}%
}%
}
@@ -90,7 +90,7 @@
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
-\csname @dtm@#1@day\endcsname
- +#2}
+ +#2}%
{#3}%
}%
}
@@ -103,7 +103,7 @@
\pgfcalendarifdate
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#2}{#3}{#4}%
}%
}
@@ -121,15 +121,15 @@
\pgfcalendardatetojulian
{\csname @dtm@#1@year\endcsname
-\csname @dtm@#1@month\endcsname
- -\csname @dtm@#1@day\endcsname}
+ -\csname @dtm@#1@day\endcsname}%
{#3}%
\pgfcalendardatetojulian
{\csname @dtm@#2@year\endcsname
-\csname @dtm@#2@month\endcsname
- -\csname @dtm@#2@day\endcsname}
+ -\csname @dtm@#2@day\endcsname}%
{\@dtm@julianday}%
\advance#3 by -\@dtm@julianday\relax
- }
+ }%
}%
}
\newrobustcmd*{\DTMtozulu}[2]{%
diff --git a/Master/texmf-dist/tex/latex/datetime2/datetime2.sty b/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
index 58925cb9717..f7a5933a716 100644
--- a/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
+++ b/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2.sty,package')
%%
%% datetime2.dtx
-%% Copyright 2020 Nicola Talbot
+%% Copyright 2021 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}[2020/03/02 v1.5.6 (NLCT) date and time formats]
+\ProvidesPackage{datetime2}[2021/03/21 v1.5.7 (NLCT) date and time formats]
\RequirePackage{tracklang}
\RequirePackage{etoolbox}
\RequirePackage{xkeyval}[2006/11/18]