[latex3-commits] [git/LaTeX3-latex3-latex3] master: Provide \tex_tracingfonts:D in LuaLaTeX (8e0ea84ff)

Marcel Fabian Krüger tex at 2krueger.de
Fri Jan 24 02:37:20 CET 2020


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

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

commit 8e0ea84ff0cbea0e468e1a44eef0b359c46ad7ed
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Jan 24 02:14:21 2020 +0100

    Provide \tex_tracingfonts:D in LuaLaTeX


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

8e0ea84ff0cbea0e468e1a44eef0b359c46ad7ed
 l3kernel/l3names.dtx                                   |  2 +-
 .../testfiles/m3names001.luatex.tlg                    |  3 ++-
 l3kernel/testfiles/m3names001.lvt                      | 18 ++++++++++++++++++
 .../testfiles/m3names001.pdftex.tlg                    |  3 ++-
 .../testfiles/m3names001.tlg                           |  3 ++-
 5 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index b5794158d..f74cb76e6 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -1272,7 +1272,7 @@
   \tex_else:D
     \tex_ifdefined:D \tex_directlua:D
       \tex_directlua:D { tex.enableprimitives("@@@@", {"tracingfonts"}) }
-      \tex_let:D \tex_tracingfonts:D \luatextracingfonts
+      \tex_let:D \tex_tracingfonts:D \@@@@tracingfonts
     \tex_fi:D
   \tex_fi:D
 \tex_fi:D
diff --git a/contrib/testfiles/ctex001.luatex.tlg b/l3kernel/testfiles/m3names001.luatex.tlg
similarity index 61%
copy from contrib/testfiles/ctex001.luatex.tlg
copy to l3kernel/testfiles/m3names001.luatex.tlg
index efac2656f..f18f96825 100644
--- a/contrib/testfiles/ctex001.luatex.tlg
+++ b/l3kernel/testfiles/m3names001.luatex.tlg
@@ -1,3 +1,4 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-OK, ctex-test-passed!
+> \tex_tracingfonts:D=\tracingfonts.
+l. ...\show \tex_tracingfonts:D
diff --git a/l3kernel/testfiles/m3names001.lvt b/l3kernel/testfiles/m3names001.lvt
new file mode 100644
index 000000000..f03032ac3
--- /dev/null
+++ b/l3kernel/testfiles/m3names001.lvt
@@ -0,0 +1,18 @@
+%
+% Copyright (C) 2020 The LaTeX3 Project
+%
+
+\documentclass{minimal}
+\input{regression-test}
+
+% Test that expl3 sets \tex_tracingfonts:D to the primitive instead of
+% the LaTeX command in LuaLaTeX
+
+\RequirePackage{expl3}
+
+\START
+\ExplSyntaxOn
+\show \tex_tracingfonts:D
+\ExplSyntaxOff
+\END
+
diff --git a/contrib/testfiles/ctex001.luatex.tlg b/l3kernel/testfiles/m3names001.pdftex.tlg
similarity index 60%
copy from contrib/testfiles/ctex001.luatex.tlg
copy to l3kernel/testfiles/m3names001.pdftex.tlg
index efac2656f..e730594a8 100644
--- a/contrib/testfiles/ctex001.luatex.tlg
+++ b/l3kernel/testfiles/m3names001.pdftex.tlg
@@ -1,3 +1,4 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-OK, ctex-test-passed!
+> \tex_tracingfonts:D=\pdftracingfonts.
+l. ...\show \tex_tracingfonts:D
diff --git a/contrib/testfiles/ctex001.luatex.tlg b/l3kernel/testfiles/m3names001.tlg
similarity index 62%
copy from contrib/testfiles/ctex001.luatex.tlg
copy to l3kernel/testfiles/m3names001.tlg
index efac2656f..00674e9f7 100644
--- a/contrib/testfiles/ctex001.luatex.tlg
+++ b/l3kernel/testfiles/m3names001.tlg
@@ -1,3 +1,4 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
-OK, ctex-test-passed!
+> \tex_tracingfonts:D=undefined.
+l. ...\show \tex_tracingfonts:D





More information about the latex3-commits mailing list