diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-05-18 17:33:44 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-05-18 17:33:44 +0200 |
commit | f7049c2619684d6bfe6688d3a669455a6ecb6713 (patch) | |
tree | dce9906ecba09f11b73930d696ca9b7973eda887 /doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | |
parent | d7b2b626996a97ebb9911c972b920f8eace34d4f (diff) | |
download | context-f7049c2619684d6bfe6688d3a669455a6ecb6713.tar.gz |
2020-05-18 16:49:00
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}] |