[latex3-commits] [git/LaTeX3-latex3-latex3] main: Update engine/primitive requirements (d9a0d989b)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 3 22:17:28 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/d9a0d989bce1689db4f3bbdc0e632717a45b29a3

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

commit d9a0d989bce1689db4f3bbdc0e632717a45b29a3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 3 21:17:18 2022 +0000

    Update engine/primitive requirements


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

d9a0d989bce1689db4f3bbdc0e632717a45b29a3
 l3kernel/CHANGELOG.md    |  1 +
 l3kernel/l3bootstrap.dtx | 20 +++++---------------
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index ad814647f..5c924af47 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -14,6 +14,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Changed
 - Documentation for horizontal coffin poles (see issue #1041)
+- Update primitive requirements to enable loading with Prote/HINT
 
 ## [2022-01-21]
 
diff --git a/l3kernel/l3bootstrap.dtx b/l3kernel/l3bootstrap.dtx
index 1ab749a8c..8268a9e56 100644
--- a/l3kernel/l3bootstrap.dtx
+++ b/l3kernel/l3bootstrap.dtx
@@ -242,25 +242,15 @@
       \LineBreak
     }%
   \ifnum0%
-    \expandafter\ifx\csname pdfstrcmp\endcsname\relax
+    \expandafter\ifx\csname expanded\endcsname\relax
+      \ifx\csname pdfstrcmp\endcsname\relax\else 1\fi
     \else
-      \expandafter\ifx\csname pdftexversion\endcsname\relax
-        \expandafter\ifx\csname Ucharcat\endcsname\relax
-          \expandafter\ifx\csname kanjiskip\endcsname\relax
-          \else
-            1%
-          \fi
-        \else
-          1%
-        \fi
+      \expandafter\ifx\csname luatexversion\endcsname\relax
+        1%
       \else
-        \ifnum\pdftexversion<140 \else 1\fi
+        \ifnum\luatexversion<110 \else 1\fi
       \fi
     \fi
-    \expandafter\ifx\csname directlua\endcsname\relax
-    \else
-      \ifnum\luatexversion<110 \else 1\fi
-    \fi
     =0 %
       \newlinechar`\^^J %
       \def\LineBreak{\noexpand\MessageBreak}%





More information about the latex3-commits mailing list.