diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-03-20 17:14:54 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-03-20 17:14:54 +0100 |
commit | 97f560d2993c367fb84ef62eefbe90ca03c19ebc (patch) | |
tree | 2008bdbfc92d045d7451e655cc43945b84234868 /doc/context/sources/general/manuals/luatex/luatex-nodes.tex | |
parent | 250c5684b9ee44ac972db51f87289ef935182c53 (diff) | |
download | context-97f560d2993c367fb84ef62eefbe90ca03c19ebc.tar.gz |
2023-03-20 15:44:00
Diffstat (limited to 'doc/context/sources/general/manuals/luatex/luatex-nodes.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luatex/luatex-nodes.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex index 1883a0c46..6b9b0bd8c 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex @@ -1722,7 +1722,7 @@ The \type{traverse_char} iterator loops over the \nod {glyph} nodes in a list. Only nodes with a subtype less than 256 are seen. \startfunctioncall -<node> n, font, char = +<node> n, char, font = node.traverse_char(<node> n) \stopfunctioncall @@ -1730,7 +1730,7 @@ The \type{traverse_glyph} iterator loops over a list and returns the list and filters all glyphs: \startfunctioncall -<node> n, font, char = +<node> n, char, font = node.traverse_glyph(<node> n) \stopfunctioncall @@ -2195,8 +2195,8 @@ number often is reported when you print node related information. You go from userdata nodes and there numeric references and back with: \startfunctioncall -<integer> d = node.todirect(<node> n)) -<node> n = node.tonode(<integer> d)) +<integer> d = node.direct.todirect(<node> n)) +<node> n = node.direct.tonode(<integer> d)) \stopfunctioncall The userdata model is rather robust as it is a virtual interface with some @@ -2437,8 +2437,8 @@ consistency. You can of course always define additional accessors using \type \supported {subtypes} \yes \nop \supported {subtype} \yes \nop \supported {tail} \yes \yes -\supported {todirect} \yes \yes -\supported {tonode} \yes \yes +\supported {todirect} \nop \yes +\supported {tonode} \nop \yes \supported {tostring} \yes \yes \supported {traverse_char} \yes \yes \supported {traverse_glyph} \yes \yes |