diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-07-22 21:49:53 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-07-22 21:49:53 +0200 |
commit | e853a2d8be8fc29f524a8a77edf216cb93c80606 (patch) | |
tree | fd32a00def0511c11612f2efb44d877faf046dee /doc/context/sources/general/manuals | |
parent | 4a60ac2f0adcdaa51133b4e88cbb6464c4f3f421 (diff) | |
download | context-e853a2d8be8fc29f524a8a77edf216cb93c80606.tar.gz |
2020-07-22 21:18:00
Diffstat (limited to 'doc/context/sources/general/manuals')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | 5 |
1 files changed, 3 insertions, 2 deletions
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 |