[latex3-commits] [latex3/latex3] xetex-primitives: add 4 missing xetex primitives (d36e2563d)

github at latex-project.org github at latex-project.org
Fri Jul 7 15:56:30 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : xetex-primitives
Link       : https://github.com/latex3/latex3/commit/d36e2563da6737cf8d3b5a2bfe4a9e55218a7768

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

commit d36e2563da6737cf8d3b5a2bfe4a9e55218a7768
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Jul 7 14:56:30 2023 +0100

    add 4 missing xetex primitives


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

d36e2563da6737cf8d3b5a2bfe4a9e55218a7768
 l3kernel/CHANGELOG.md                    |  6 ++++++
 l3kernel/l3names.dtx                     |  6 ++++++
 l3kernel/testfiles/m3names001.luatex.tlg |  1 +
 l3kernel/testfiles/m3names001.lvt        |  5 +++++
 l3kernel/testfiles/m3names001.ptex.tlg   | 13 +++++++++++++
 l3kernel/testfiles/m3names001.tlg        |  1 +
 l3kernel/testfiles/m3names001.uptex.tlg  | 13 +++++++++++++
 l3kernel/testfiles/m3names001.xetex.tlg  | 13 +++++++++++++
 8 files changed, 58 insertions(+)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 68e4090e0..a2071fee6 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,12 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Added
+- `\tex_XeTeXhyphenatablelength:D`, `\tex_XeTeXhyphenatablelength:D`, `\tex_XeTeXhyphenatablelength:D`
+
+### Changed
+- `\tex_protrudechars:D` now defined for xetex (to `\XeTeXprotrudechars`)
+
 ## [2023-06-30]
 
 ### Added
diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index 2235524d7..1e0124643 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -783,6 +783,11 @@
   \@@_primitive:NN \XeTeXvariationmin     \tex_XeTeXvariationmin:D
   \@@_primitive:NN \XeTeXvariationname    \tex_XeTeXvariationname:D
   \@@_primitive:NN \XeTeXversion          \tex_XeTeXversion:D
+  \@@_primitive:NN \XeTeXselectorcode     \tex_XeTeXselectorcode:D
+  \@@_primitive:NN \XeTeXinterwordspaceshaping
+                   \tex_XeTeXinterwordspaceshaping:D
+  \@@_primitive:NN \XeTeXhyphenatablelength
+                   \tex_XeTeXhyphenatablelength:D
 %    \end{macrocode}
 % Primitives from \pdfTeX{} that \XeTeX{} renames: also helps with
 % \LuaTeX{}.
@@ -797,6 +802,7 @@
   \@@_primitive:NN \primitive             \tex_primitive:D
   \@@_primitive:NN \resettimer            \tex_resettimer:D
   \@@_primitive:NN \shellescape           \tex_shellescape:D
+  \@@_primitive:NN \XeTeXprotrudechars    \tex_protrudechars:D
 %    \end{macrocode}
 % Primitives from \LuaTeX{}, some of which have been ported back to
 % \XeTeX{}.
diff --git a/l3kernel/testfiles/m3names001.luatex.tlg b/l3kernel/testfiles/m3names001.luatex.tlg
index afa948f71..ed7ff8d5f 100644
--- a/l3kernel/testfiles/m3names001.luatex.tlg
+++ b/l3kernel/testfiles/m3names001.luatex.tlg
@@ -10,6 +10,7 @@ Don't change this file in any respect.
 \tex_splitbotmark:D=\splitbotmark:
 \tex_splitfirstmark:D=\splitfirstmark:
 \tex_topmark:D=\topmark:
+\tex_protrudechars:D=\protrudechars
 \tex_fontexpand:D=\expandglyphsinfont
 \tex_pdflastxform:D=\lastsavedboxresourceindex
 \tex_pdflastximage:D=\lastsavedimageresourceindex
diff --git a/l3kernel/testfiles/m3names001.lvt b/l3kernel/testfiles/m3names001.lvt
index 6c0e705c5..c21e98799 100644
--- a/l3kernel/testfiles/m3names001.lvt
+++ b/l3kernel/testfiles/m3names001.lvt
@@ -708,6 +708,11 @@
 \xetex\tex_resettimer:D
 \xetex\tex_shellescape:D
 %
+\spec\tex_protrudechars:D
+\xetex\tex_XeTeXselectorcode:D
+\xetex\tex_XeTeXinterwordspaceshaping:D
+\xetex\tex_XeTeXhyphenatablelength:D
+%
 \luatex\tex_alignmark:D
 \luatex\tex_aligntab:D
 \luatex\tex_attribute:D
diff --git a/l3kernel/testfiles/m3names001.ptex.tlg b/l3kernel/testfiles/m3names001.ptex.tlg
new file mode 100644
index 000000000..d1d95bc59
--- /dev/null
+++ b/l3kernel/testfiles/m3names001.ptex.tlg
@@ -0,0 +1,13 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+\tex_undefined:D=undefined
+\tex_space:D=\ 
+\tex_italiccorrection:D=\/
+\tex_hyphen:D=\-
+\tex_botmark:D=\botmark:
+\tex_firstmark:D=\firstmark:
+\tex_nullfont:D=select font nullfont
+\tex_splitbotmark:D=\splitbotmark:
+\tex_splitfirstmark:D=\splitfirstmark:
+\tex_topmark:D=\topmark:
+\tex_protrudechars:D=undefined
diff --git a/l3kernel/testfiles/m3names001.tlg b/l3kernel/testfiles/m3names001.tlg
index 756e57201..09416e049 100644
--- a/l3kernel/testfiles/m3names001.tlg
+++ b/l3kernel/testfiles/m3names001.tlg
@@ -10,3 +10,4 @@ Don't change this file in any respect.
 \tex_splitbotmark:D=\splitbotmark:
 \tex_splitfirstmark:D=\splitfirstmark:
 \tex_topmark:D=\topmark:
+\tex_protrudechars:D=\pdfprotrudechars
diff --git a/l3kernel/testfiles/m3names001.uptex.tlg b/l3kernel/testfiles/m3names001.uptex.tlg
new file mode 100644
index 000000000..d1d95bc59
--- /dev/null
+++ b/l3kernel/testfiles/m3names001.uptex.tlg
@@ -0,0 +1,13 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+\tex_undefined:D=undefined
+\tex_space:D=\ 
+\tex_italiccorrection:D=\/
+\tex_hyphen:D=\-
+\tex_botmark:D=\botmark:
+\tex_firstmark:D=\firstmark:
+\tex_nullfont:D=select font nullfont
+\tex_splitbotmark:D=\splitbotmark:
+\tex_splitfirstmark:D=\splitfirstmark:
+\tex_topmark:D=\topmark:
+\tex_protrudechars:D=undefined
diff --git a/l3kernel/testfiles/m3names001.xetex.tlg b/l3kernel/testfiles/m3names001.xetex.tlg
new file mode 100644
index 000000000..4f2ea4e3c
--- /dev/null
+++ b/l3kernel/testfiles/m3names001.xetex.tlg
@@ -0,0 +1,13 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+\tex_undefined:D=undefined
+\tex_space:D=\ 
+\tex_italiccorrection:D=\/
+\tex_hyphen:D=\-
+\tex_botmark:D=\botmark:
+\tex_firstmark:D=\firstmark:
+\tex_nullfont:D=select font nullfont
+\tex_splitbotmark:D=\splitbotmark:
+\tex_splitfirstmark:D=\splitfirstmark:
+\tex_topmark:D=\topmark:
+\tex_protrudechars:D=\XeTeXprotrudechars





More information about the latex3-commits mailing list.