Documentation of the *_syntex_fields functions
![](https://secure.gravatar.com/avatar/d2f98411f3e5fcca49a87a5bc9df3906.jpg?s=120&d=mm&r=g)
The *_syntex_fields functions are located in the node.direct.* namespace, not in the node.* namespace. See source code: set_* https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/master/source/texk/web... get_* https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/master/source/texk/web... diff --git a/manual/luatex-nodes.tex b/manual/luatex-nodes.tex index 42a4aedc7..9b72fdf2c 100644 --- a/manual/luatex-nodes.tex +++ b/manual/luatex-nodes.tex @@ -2490,9 +2490,9 @@ number, for a glue, kern, hlist, vlist, rule and math nodes as well as glyph nodes (although this last one is not used in native \SYNCTEX). \startfunctioncall -node.set_synctex_fields(<integer> f, <integer> l) +node.direct.set_synctex_fields(<integer> n, <integer> f, <integer> l) <integer> f, <integer> l = - node.get_synctex_fields(<node> n) + node.direct.get_synctex_fields(<integer> n) \stopfunctioncall Of course you need to know what you're doing as no checking on sane values takes
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, 7 Apr 2023 at 18:27, Josef Friedrich
The *_syntex_fields functions are located in the node.direct.* namespace, not in the node.* namespace.
See source code:
set_*
https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/master/source/texk/web...
get_*
https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/master/source/texk/web...
diff --git a/manual/luatex-nodes.tex b/manual/luatex-nodes.tex index 42a4aedc7..9b72fdf2c 100644 --- a/manual/luatex-nodes.tex +++ b/manual/luatex-nodes.tex @@ -2490,9 +2490,9 @@ number, for a glue, kern, hlist, vlist, rule and math nodes as well as glyph nodes (although this last one is not used in native \SYNCTEX).
\startfunctioncall -node.set_synctex_fields(<integer> f, <integer> l) +node.direct.set_synctex_fields(<integer> n, <integer> f, <integer> l) <integer> f, <integer> l = - node.get_synctex_fields(<node> n) + node.direct.get_synctex_fields(<integer> n) \stopfunctioncall
done, fd7fa6c50 Documentation of the *_syntex_fields functions (J. Friedrich). -- luigi
participants (2)
-
Josef Friedrich
-
luigi scarso