[latex3-commits] [git/LaTeX3-latex3-latex3] luacmd: Updated requirements for LuaTeX (60cf27fcb)

Marcel Fabian Krüger tex at 2krueger.de
Sat Aug 22 00:42:39 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : luacmd
Link       : https://github.com/latex3/latex3/commit/60cf27fcb7c15944bdae613537bcf505c3616024

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

commit 60cf27fcb7c15944bdae613537bcf505c3616024
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Aug 22 00:42:39 2020 +0200

    Updated requirements for LuaTeX


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

60cf27fcb7c15944bdae613537bcf505c3616024
 l3kernel/README.md       | 2 +-
 l3kernel/l3bootstrap.dtx | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/l3kernel/README.md b/l3kernel/README.md
index d239d3803..bc67a6671 100644
--- a/l3kernel/README.md
+++ b/l3kernel/README.md
@@ -33,7 +33,7 @@ category codes (for Unicode engines) and PDF support primitives (where direct
 PDF generation is used). The bundle only works with the following engines:
 * pdfTeX v1.40 or later
 * XeTeX v0.99992 or later
-* LuaTeX v0.76 or later
+* LuaTeX v1.10 or later
 * e-(u)pTeX from mid-2012 onward
 
 pdfTeX v1.40 was released in 2007, and so any recent TeX distribution
diff --git a/l3kernel/l3bootstrap.dtx b/l3kernel/l3bootstrap.dtx
index cf749116d..41631ada1 100644
--- a/l3kernel/l3bootstrap.dtx
+++ b/l3kernel/l3bootstrap.dtx
@@ -176,7 +176,7 @@
 \begingroup\expandafter\expandafter\expandafter\endgroup
 \expandafter\ifx\csname directlua\endcsname\relax
 \else
-  \ifnum\luatexversion<95 %
+  \ifnum\luatexversion<110 %
   \else
 %    \end{macrocode}
 %   For \LuaTeX{} we make sure the basic support is loaded:
@@ -212,6 +212,9 @@
 % The code currently requires \eTeX{} and functionality equivalent to
 % \tn{pdfstrcmp}, and also driver and Unicode character support. This is
 % available in a reasonably-wide range of engines.
+%
+% For \LuaTeX, we require at least Lua 5.3 and the |token.set_lua| function.
+% This is available at least since \LuaTeX{} 1.10.
 %    \begin{macrocode}
 \begingroup
   \def\next{\endgroup}%
@@ -224,7 +227,7 @@
       These are available in the engines\LineBreak
       - pdfTeX v1.40\LineBreak
       - XeTeX v0.99992\LineBreak
-      - LuaTeX v0.95\LineBreak
+      - LuaTeX v1.10\LineBreak
       - e-(u)pTeX mid-2012\LineBreak
       or later.\LineBreak
       \LineBreak
@@ -247,7 +250,7 @@
     \fi
     \expandafter\ifx\csname directlua\endcsname\relax
     \else
-      \ifnum\luatexversion<76 \else 1\fi
+      \ifnum\luatexversion<110 \else 1\fi
     \fi
     =0 %
       \newlinechar`\^^J %





More information about the latex3-commits mailing list.