diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/context/documents/general/manuals/luametatex.pdf | bin | 1233630 -> 1233533 bytes | |||
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | 5 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/context/documents/general/manuals/luametatex.pdf b/doc/context/documents/general/manuals/luametatex.pdf Binary files differindex 50d999568..538fcfa26 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-tex.tex b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex index af058197b..648ee5eef 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex @@ -1539,14 +1539,15 @@ an error: This function has two optional arguments in case a token register is passed: \startfunctioncall -tex.runtoks(<token register>,force,grouped) +tex.runtoks(<token register>,force,grouped,obeymode) \stopfunctioncall Inside for instance an \type {\edef} the \type {runtoks} function behaves (at least tries to) like it were an \type {\the}. This prevents unwanted side effects: normally in such an definition tokens remain tokens and (for instance) characters don't become nodes. With the second argument you can force the local -main loop, no matter what. The third argument adds a level of grouping. +main loop, no matter what. The third argument adds a level of grouping. The last +argument tells the scanner to stay in the current mode. You can quit the local loop with \type {\endlocalcontrol} or from the \LUA\ end with \type {tex.quittoks}. In that case you end one level up! Of course in the |