diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/context/documents/general/manuals/luametatex.pdf | bin | 1233533 -> 1234009 bytes | |||
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex | 25 |
2 files changed, 20 insertions, 5 deletions
diff --git a/doc/context/documents/general/manuals/luametatex.pdf b/doc/context/documents/general/manuals/luametatex.pdf Binary files differindex 538fcfa26..26b58f2ad 100644 --- a/doc/context/documents/general/manuals/luametatex.pdf +++ b/doc/context/documents/general/manuals/luametatex.pdf diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex index 73c62fc89..687e6e8b5 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-enhancements.tex @@ -1486,14 +1486,29 @@ the node number of the nodes. \stopsubsection +% \startsubsection[title={\lpr {lastnodetype}, \lpr {lastnodesubtype}, \lpr +% {currentiftype} and \lpr {internalcodesmode}.}] +% +% The \ETEX\ command \type {\lastnodetype} is limited to some nodes. When the +% parameter \type {\internalcodesmode} is set to a non|-|zero value the normal +% (internally used) numbers are reported. The same is true for \type +% {\currentiftype}, as we have more conditionals and also use a different order. +% The \type {\lastnodesubtype} is a bonus. +% +% \stopsubsection + \startsubsection[title={\lpr {lastnodetype}, \lpr {lastnodesubtype}, \lpr -{currentiftype} and \lpr {internalcodesmode}.}] +{currentiftype}}] -The \ETEX\ command \type {\lastnodetype} is limited to some nodes. When the -parameter \type {\internalcodesmode} is set to a non|-|zero value the normal -(internally used) numbers are reported. The same is true for \type +The \ETEX\ command \type {\lastnodetype} returns the node codes as used in the +engine. You can query the numbers at the \LUA\ end if you need the actual values. +The parameter \type {\internalcodesmode} is no longer provided as compatibility +switch because \LUATEX\ has more cq. some different nodes and it makes no sense +to be incompatible with the \LUA\ end of the engine. The same is true for \type {\currentiftype}, as we have more conditionals and also use a different order. -The \type {\lastnodesubtype} is a bonus. +The \type {\lastnodesubtype} is a bonus and again reports the codes used +internally. During development these might occasionally change, but eventually +they will be stable. \stopsubsection |