Command/startctxfunctiondefinition
Jump to navigation
Jump to search
Contents
\startctxfunctiondefinition ... \stopctxfunctiondefinition
Summary
The environment \startctxfunctiondefinition ... \stopctxfunctiondefinition defines a macro that is a lua function without arguments.
Settings
Description
This defines a TeX macro without arguments that when expanded runs a block of lua code instead of executing TeX commands.
Examples
Example 1
\startctxfunctiondefinition foo context('hello world') \stopctxfunctiondefinition \foo