diff options
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-tex.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex index 40e6b5a84..175ad30fa 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex @@ -2316,6 +2316,8 @@ need to know that boundary condition. \libindex{set_char} \libindex{set_lua} \libindex{get_functions_table} +\libindex{push_macro} +\libindex{pop_macro} The \type {set_macro} function can get upto 4 arguments: @@ -2365,6 +2367,11 @@ that you can access with \type {lua.get_functions_table}. It is the companion to \lpr {luadef}. When the first (and only) argument is true the size will preset to the value of \type {texconfig.function_size}. +The \type {push_macro} and \type {pop_macro} function are very experimental and +can be used to get and set an existing macro. The push call returns a user data +object and the pop takes such a userdata object. These object have no accessors +and are to be seen as abstractions. + \stopsubsection \startsubsection[title={Pushing back}] |