[latex3-commits] [git/LaTeX3-latex3-latex2e] cmd: Add \sourceLaTeXdate (98381628)
PhelypeOleinik
phelype.oleinik at latex-project.org
Sat Jan 23 15:19:17 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : cmd
Link : https://github.com/latex3/latex2e/commit/98381628e233809f070ca7d47780483ab6fa9eaf
>---------------------------------------------------------------
commit 98381628e233809f070ca7d47780483ab6fa9eaf
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Sat Jan 23 11:19:17 2021 -0300
Add \sourceLaTeXdate
>---------------------------------------------------------------
98381628e233809f070ca7d47780483ab6fa9eaf
base/latexrelease.dtx | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index 9708f8ed..8f550c75 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -40,7 +40,7 @@
%<*!fixltx2e>
% \fi
% \ProvidesFile{latexrelease.dtx}
- [2020/12/06 v1.0k LaTeX release emulation and tests
+ [2021/01/23 v1.0l LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
% \iffalse
%</!fixltx2e>
@@ -388,6 +388,16 @@
%
% \section{Setup}
%
+% \begin{macro}{\sourceLaTeXdate}
+% \changes{v1.0l}{2021/01/23}{\cs{sourceLaTeXdate} added}
+% Store the original \LaTeX{} format version
+% as a number in the format |YYYYMMDD|:
+% \begin{macrocode}
+\edef\sourceLaTeXdate{%
+ \expandafter\@parse at version\fmtversion//00\@nil}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\IncludeInRelease}
% \begin{macro}{\EndIncludeInRelease}
% \begin{macrocode}
More information about the latex3-commits
mailing list.