[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Update l3kernel to 2020-10-05 (4b2e7a03)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Oct 5 08:57:18 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/4b2e7a0330025b9febe763359763f1c68ea01643

>---------------------------------------------------------------

commit 4b2e7a0330025b9febe763359763f1c68ea01643
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Oct 5 07:57:18 2020 +0100

    Update l3kernel to 2020-10-05


>---------------------------------------------------------------

4b2e7a0330025b9febe763359763f1c68ea01643
 texmf/tex/latex/l3kernel/expl3-code.tex    |  2 +-
 texmf/tex/latex/l3kernel/expl3-generic.tex |  2 +-
 texmf/tex/latex/l3kernel/expl3.ltx         |  2 +-
 texmf/tex/latex/l3kernel/expl3.lua         | 11 ++++++++---
 texmf/tex/latex/l3kernel/expl3.sty         |  2 +-
 5 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/texmf/tex/latex/l3kernel/expl3-code.tex b/texmf/tex/latex/l3kernel/expl3-code.tex
index 7807eb08..57b93d00 100644
--- a/texmf/tex/latex/l3kernel/expl3-code.tex
+++ b/texmf/tex/latex/l3kernel/expl3-code.tex
@@ -69,7 +69,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: expl3.dtx
-\def\ExplFileDate{2020-09-24}%
+\def\ExplFileDate{2020-10-05}%
 \begingroup
   \def\next{\endgroup}%
   \expandafter\ifx\csname PackageError\endcsname\relax
diff --git a/texmf/tex/latex/l3kernel/expl3-generic.tex b/texmf/tex/latex/l3kernel/expl3-generic.tex
index 9b4cd093..40c3052e 100644
--- a/texmf/tex/latex/l3kernel/expl3-generic.tex
+++ b/texmf/tex/latex/l3kernel/expl3-generic.tex
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: expl3.dtx
-\def\ExplFileDate{2020-09-24}%
+\def\ExplFileDate{2020-10-05}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\>=12
diff --git a/texmf/tex/latex/l3kernel/expl3.ltx b/texmf/tex/latex/l3kernel/expl3.ltx
index 558342f7..ce9b23c5 100644
--- a/texmf/tex/latex/l3kernel/expl3.ltx
+++ b/texmf/tex/latex/l3kernel/expl3.ltx
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: expl3.dtx
-\def\ExplFileDate{2020-09-24}%
+\def\ExplFileDate{2020-10-05}%
 \let\ExplLoaderFileDate\ExplFileDate
 \begingroup
   \catcode`\>=12
diff --git a/texmf/tex/latex/l3kernel/expl3.lua b/texmf/tex/latex/l3kernel/expl3.lua
index a60086c3..5b230843 100644
--- a/texmf/tex/latex/l3kernel/expl3.lua
+++ b/texmf/tex/latex/l3kernel/expl3.lua
@@ -259,12 +259,17 @@ local luacmd do
   end
 end
 -- File: l3names.dtx
+local minus_tok = token.new(string.byte'-', 12)
+local zero_tok = token.new(string.byte'0', 12)
+local one_tok = token.new(string.byte'1', 12)
 luacmd('tex_strcmp:D', function()
   local first = scan_string()
   local second = scan_string()
-  write(first == second and '0'
-     or first < second and '-1'
-     or '1')
+  if first < second then
+    put_next(minus_tok, one_tok)
+  else
+    put_next(first == second and zero_tok or one_tok)
+  end
 end, 'global')
 local cprint = tex.cprint
 luacmd('tex_Ucharcat:D', function()
diff --git a/texmf/tex/latex/l3kernel/expl3.sty b/texmf/tex/latex/l3kernel/expl3.sty
index d9cb4aa5..ffbfbb6e 100644
--- a/texmf/tex/latex/l3kernel/expl3.sty
+++ b/texmf/tex/latex/l3kernel/expl3.sty
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: expl3.dtx
-\def\ExplFileDate{2020-09-24}%
+\def\ExplFileDate{2020-10-05}%
 \let\ExplLoaderFileDate\ExplFileDate
 \ProvidesPackage{expl3}
   [%





More information about the latex3-commits mailing list.