summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex/commands.c
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2022-01-12 11:25:59 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2022-01-12 11:25:59 +0000
commit8316f1c459bab0a9894b74d3f86494563293aa22 (patch)
tree7cdaef784a6dcdfa8987beb955012a954113a163 /Build/source/texk/web2c/luatexdir/tex/commands.c
parente4d46f96d5158c0d6b997c52896c94397ecb6ffc (diff)
LuaTeX \showstream (M.Krüger)
git-svn-id: svn://tug.org/texlive/trunk@61580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/commands.c')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/commands.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/commands.c b/Build/source/texk/web2c/luatexdir/tex/commands.c
index e9c0ad88803..899e84c3bb7 100644
--- a/Build/source/texk/web2c/luatexdir/tex/commands.c
+++ b/Build/source/texk/web2c/luatexdir/tex/commands.c
@@ -820,6 +820,15 @@ void initialize_etex_commands(void)
primitive_luatex("shapemode", assign_int_cmd, int_base + shape_mode_code, int_base);
primitive_luatex("hyphenationbounds", assign_int_cmd, int_base + hyphenation_bounds_code, int_base);
+ /*tex
+
+ The \.{\\showstream} parameter allows to redirect the output of |xray_cmd|
+ commands to any write stream.
+
+ */
+
+ primitive_tex("showstream", assign_int_cmd, int_base + show_stream_code, int_base);
+
primitive_etex("showgroups", xray_cmd, show_groups, 0);
/*tex