[latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, gh-1265, gh1183, main, tlc3-errata, update-UseTaggingSocket: Mark "v" in provides_module() when logging version string (3f91918d9)
github at latex-project.org
github at latex-project.org
Sat Jul 13 18:02:13 CEST 2024
- Previous message (by thread): [latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, gh-1265, gh1183, main, tlc3-errata, update-UseTaggingSocket: set tracinglostchars for #1380 (#1381) (82af2e8b4)
- Next message (by thread): [latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, gh-1265, gh1183, main, tlc3-errata, update-UseTaggingSocket: Update l3kernel to 2024-06-19 (d8793152c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : https://github.com/latex3/latex2e
On branches: UF-latexlab-toc,defaultT1,develop,gh-1265,gh1183,main,tlc3-errata,update-UseTaggingSocket
Link : https://github.com/latex3/latex2e/commit/3f91918d914b82e3d67b5613d13d3714887cf0fb
>---------------------------------------------------------------
commit 3f91918d914b82e3d67b5613d13d3714887cf0fb
Author: Joseph Wright <joseph at texdev.net>
Date: Tue Jun 4 17:37:49 2024 +0100
Mark "v" in provides_module() when logging version string
>---------------------------------------------------------------
3f91918d914b82e3d67b5613d13d3714887cf0fb
base/changes.txt | 5 +++++
base/ltluatex.dtx | 7 +++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index bb8de61fa..0fa283c39 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -33,6 +33,11 @@ not part of the distribution.
This way the user can still alter \PrintDescribeMacro, etc. in the preamble
(gh/1000)
+2024-06-04 Joseph Wright <Joseph.Wright at latex-project.org>
+
+ * ltluatex.dtx:
+ Mark "v" in provides_module() when logging version string
+
2024-06-04 Yukai Chou <muzimuzhi at gmail.com>
* source2e.tex:
diff --git a/base/ltluatex.dtx b/base/ltluatex.dtx
index a15019dcd..f5cd52312 100644
--- a/base/ltluatex.dtx
+++ b/base/ltluatex.dtx
@@ -30,7 +30,7 @@
%<*plain>
% \fi
% \ProvidesFile{ltluatex.dtx}
-[2024/02/11 v1.2c
+[2024/06/04 v1.2d
% LaTeX Kernel (LuaTeX support)^^A
%\iffalse
%<plain> LuaTeX support for plain TeX (core)%
@@ -330,6 +330,8 @@
% field |date| in the usual \LaTeX{} format |yyyy/mm/dd|. Optional fields
% |version| (a string) and |description| may be used if present. This
% information will be recorded in the log. Other fields are ignored.
+% If the |version| begins with a digit, a \texttt{v} will be added at the
+% start in the log.
%
% \noindent
% \DescribeMacro{module_info}
@@ -1004,6 +1006,7 @@ local modules = modules or { }
% \begin{macro}{provides_module}
% \changes{v1.0a}{2015/09/24}{Function added}
% \changes{v1.0f}{2015/10/03}{use luatexbase\_log}
+% \changes{v1.2d}{2024/06/04}{Add \texttt{v} to version string if required}
% Local function to write to the log.
% \begin{macrocode}
local function luatexbase_log(text)
@@ -1024,7 +1027,7 @@ local function provides_module(info)
luatexbase_log(
"Lua module: " .. info.name
.. spaced(info.date)
- .. spaced(info.version)
+ .. spaced(string_gsub(info.version,"^(%d)","v%1"))
.. spaced(info.description)
)
modules[info.name] = info
- Previous message (by thread): [latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, gh-1265, gh1183, main, tlc3-errata, update-UseTaggingSocket: set tracinglostchars for #1380 (#1381) (82af2e8b4)
- Next message (by thread): [latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, gh-1265, gh1183, main, tlc3-errata, update-UseTaggingSocket: Update l3kernel to 2024-06-19 (d8793152c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the latex3-commits
mailing list.