summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-03-21 22:04:41 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-03-21 22:04:41 +0100
commitcb28e8807d7908cc9644c2bd77c9d214dd8caefe (patch)
tree8865d48126fcb896a21252a42ea679ef6d867973 /doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex
parent9fed721832d90d94caa292b8e6b7f22c88d03c3b (diff)
downloadcontext-cb28e8807d7908cc9644c2bd77c9d214dd8caefe.tar.gz
2021-03-21 21:08:00
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex')
-rw-r--r--doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex b/doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex
index d8e98efa2..f599ac96b 100644
--- a/doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-callbacks.tex
@@ -719,6 +719,25 @@ font structure.
Setting this callback to \type {false} is pointless as it will prevent font
loading completely but will nevertheless generate errors.
+\subsection{\cbk {show+whatsit}}
+
+\topicindex{callbacks+whatsits}
+
+Because we only have a generic whatsit it is up to the macro package to provide
+details when tracing them.
+
+\startfunctioncall
+function(<node> whatsit, <number> indentation,
+ <number> tracinglevel, <number> currentlevel, <number> inputlevel)
+ -- no return value
+end
+\stopfunctioncall
+
+The indentation tells how many periods are to be typeset if you want to be
+compatible with the rest of tracing. The tracinglevels indicates if the current
+level and\|/or input level are shown cf. \lpr {tracinglevels}. Of course one
+is free to show whatever in whatever way suits the whatsit best.
+
\stopsection
\stopchapter