texlive[58499] Master/texmf-dist/doc/luatex/base: Updated luatex
commits+lscarso at tug.org
commits+lscarso at tug.org
Thu Mar 18 20:34:59 CET 2021
Revision: 58499
http://tug.org/svn/texlive?view=revision&revision=58499
Author: lscarso
Date: 2021-03-18 20:34:59 +0100 (Thu, 18 Mar 2021)
Log Message:
-----------
Updated luatex manual.
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
trunk/Master/texmf-dist/doc/luatex/base/luatex.pdf
Modified: trunk/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/base/luatex-tex.tex 2021-03-18 14:41:44 UTC (rev 58498)
+++ trunk/Master/texmf-dist/doc/luatex/base/luatex-tex.tex 2021-03-18 19:34:59 UTC (rev 58499)
@@ -1,4 +1,4 @@
-% language=uk
+% engine=luatex language=uk
% lua.newtable
@@ -1971,8 +1971,9 @@
You can kick in your own nesting level visualizer, for instance:
-\stoptyping
+\starttyping
callback.register("input_level_string",function(n)
+ if tex.tracingmacros > 0 and tex.count.tracingstacklevels > 0 then
if tex.tracingmacros > 1 then
return "! " .. string.rep(">",n) .. " "
end
@@ -1979,6 +1980,23 @@
end)
\stoptyping
+Or, in sync with other engines (not checked):
+
+\newcount\tracingstacklevels
+
+\starttyping
+\directlua {
+ callback.register("input_level_string", function(n)
+ if tex.tracingmacros > 0 then
+ local l = tex.count.tracingstacklevels
+ if l > 0 then
+ return string.rep("~",l) .. string.rep(".",n-l)
+ end
+ end
+ end)
+}
+\stoptyping
+
\stopsection
\startsection[title={The \type {texio} library}][library=texio]
Modified: trunk/Master/texmf-dist/doc/luatex/base/luatex.pdf
===================================================================
(Binary files differ)
More information about the tex-live-commits
mailing list.