[latex3-commits] [git/LaTeX3-latex3-latex3] master: Update minimum XeTeX version requirement (fc7122d)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri May 4 10:03:32 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/fc7122d88ada3edfd650d024946e35afdb929992

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

commit fc7122d88ada3edfd650d024946e35afdb929992
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri May 4 09:03:32 2018 +0100

    Update minimum XeTeX version requirement
    
    Loading Unicode data means we must have
    \Ucharcat. For the Unicode engines, pushing the version
    requirement seems reasonable.


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

fc7122d88ada3edfd650d024946e35afdb929992
 l3kernel/expl3.dtx       |    5 +++--
 l3kernel/l3bootstrap.dtx |   11 +++++++++--
 l3kernel/l3names.dtx     |   19 +------------------
 l3kernel/l3token.dtx     |   10 +++-------
 4 files changed, 16 insertions(+), 29 deletions(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 1b0a6a0..ce5c5fa 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -993,12 +993,13 @@
 % Any engine which defines |\pdfoutput| (\emph{i.e.}~allows direct production
 % of a PDF file without a DVI intermediate) must also provide |\pdfcolorstack|,
 % |\pdfliteral|, |\pdfmatrix|, |\pdfrestore| and |\pdfsave| or equivalent
-% functionality.
+% functionality. Fully Unicode engines must provide a method for producing
+% character tokens in an expandable manner.
 %
 % Practically, these requirements are met by the engines
 % \begin{itemize}
 %    \item \pdfTeX{} v1.40 or later.
-%    \item \XeTeX{} v0.9994 or later.
+%    \item \XeTeX{} v0.99992 or later.
 %    \item \LuaTeX{} v0.70 or later.
 %    \item e-(u)\pTeX{} mid-2012 or later.
 % \end{itemize}
diff --git a/l3kernel/l3bootstrap.dtx b/l3kernel/l3bootstrap.dtx
index 7d4e945..0317588 100644
--- a/l3kernel/l3bootstrap.dtx
+++ b/l3kernel/l3bootstrap.dtx
@@ -363,7 +363,7 @@
       \LineBreak
       These are available in the engines\LineBreak
       - pdfTeX v1.40\LineBreak
-      - XeTeX v0.9994\LineBreak
+      - XeTeX v0.99992\LineBreak
       - LuaTeX v0.70\LineBreak
       - e-(u)pTeX mid-2012\LineBreak
       or later.\LineBreak
@@ -373,7 +373,14 @@
     \expandafter\ifx\csname pdfstrcmp\endcsname\relax
     \else
       \expandafter\ifx\csname pdftexversion\endcsname\relax
-        1%
+        \expandafter\ifx\csname Ucharcat\endcsname\relax
+          \ifx\csname kanjiskip\endcsname\relax
+          \else
+            1%
+          \fi
+        \else
+          1%
+        \fi
       \else
         \ifnum\pdftexversion<140 \else 1\fi
       \fi
diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index 72dd8f8..44efbef 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -1304,28 +1304,11 @@
 \tex_fi:D
 %</package>
 %    \end{macrocode}
-% Older \XeTeX{} versions use |\XeTeX| as the prefix for the Unicode math
-% primitives it knows. That is tided up here (we support \XeTeX{} versions
-% from 0.9994 but this change was in 0.9999).
-%    \begin{macrocode}
-%<*initex|package>
-\tex_ifdefined:D \XeTeXdelcode
-  \tex_let:D \tex_Udelcode:D        \XeTeXdelcode
-  \tex_let:D \tex_Udelcodenum:D     \XeTeXdelcodenum
-  \tex_let:D \tex_Udelimiter:D      \XeTeXdelimiter
-  \tex_let:D \tex_Umathaccent:D     \XeTeXmathaccent
-  \tex_let:D \tex_Umathchar:D       \XeTeXmathchar
-  \tex_let:D \tex_Umathchardef:D    \XeTeXmathchardef
-  \tex_let:D \tex_Umathcharnum:D    \XeTeXmathcharnum
-  \tex_let:D \tex_Umathcharnumdef:D \XeTeXmathcharnumdef
-  \tex_let:D \tex_Umathcode:D       \XeTeXmathcode
-  \tex_let:D \tex_Umathcodenum:D    \XeTeXmathcodenum
-\tex_fi:D
-%    \end{macrocode}
 % Up to v0.80, \LuaTeX{} defines the \pdfTeX{} version data: rather
 % confusing. Removing them means that \cs{tex_pdftexversion:D} is
 % a marker for \pdfTeX{} alone: useful in engine-dependent code later.
 %    \begin{macrocode}
+%<*initex|package>
 \tex_ifdefined:D \tex_luatexversion:D
   \tex_let:D \tex_pdftexbanner:D   \tex_undefined:D
   \tex_let:D \tex_pdftexrevision:D \tex_undefined:D
diff --git a/l3kernel/l3token.dtx b/l3kernel/l3token.dtx
index 859c75d..4caf568 100644
--- a/l3kernel/l3token.dtx
+++ b/l3kernel/l3token.dtx
@@ -141,12 +141,8 @@
 %     \item $12$ (other)
 %     \item $13$ (active) (not \XeTeX{})
 %   \end{itemize}
-%   and other values raise an error.
-%
-%   The \meta{charcode} may be any one valid for the engine in use. Note
-%   however that for \XeTeX{} releases prior to 0.99992 only the 8-bit
-%   range ($0$ to $255$) is accepted due to engine limitations. Note also
-%   that \XeTeX{} cannot currently generate active character tokens.
+%   and other values raise an error. The \meta{charcode} may be any one valid
+%   for the engine in use.
 % \end{function}
 %
 % \begin{variable}[added = 2011-09-05]{\c_catcode_other_space_tl}
@@ -1416,7 +1412,7 @@
 \tl_new:N \l_@@_tmp_tl
 %    \end{macrocode}
 %   Engine-dependent definitions are now needed for the implementation. For
-%   \LuaTeX{} and recent \XeTeX{} releases there is engine-level support.
+%   \LuaTeX{} and \XeTeX{} there is engine-level support.
 %   They can do cases that macro emulation can't. All of those are filtered
 %   out here using a primitive-based boolean expression for speed.
 %   The final level is the basic definition at the engine level: the arguments





More information about the latex3-commits mailing list