Changes

Jump to navigation Jump to search
no edit summary
<?xml version='1.0'?>
<!-- this file was generated on 2020-08-20T09:05 -->
<cd:commandgroup name="ctxfunctiondefinition" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The environment <tt>\startctxfunctiondefinition ... \stopctxfunctiondefinition</tt> defines a macro that is a lua function without arguments.
</cd:shortdesc>
</cd:command>
</cd:variants>
<cd:description>This defines a TeX macro without arguments that when expanded runs a block of lua code instead of executing TeX commands.
</cd:description>
<cd:examples><cd:example title=""><texcode>\startctxfunctiondefinition foo context('hello world') \stopctxfunctiondefinition
\foo
</texcode>
</cd:example> </cd:examples><cd:notes><!-- this is for special remarks that do not fit elsewhere, like discovered bugs in specific context versions<cd:note author="..." date="..."></cd:note>--></cd:notes>
<cd:seealso>
<!-- one or more of these:
<cd:commandref name="xx"></cd:commandref>
<cd:wikipage page="xx"></cd:wikipage>
<cd:url url="https://xx"></cd:url>
<cd:manual pdf="xx"></cd:manual>
<cd:source file="xx"></cd:source>
-->
<cd:commandref name="_ctxfunctiondefinition"></cd:commandref>
<cd:commandref name="startctxfunction"></cd:commandref>
<cd:commandref name="_ctxfunction"></cd:commandref>
<cd:source file="luat-ini.mkiv" originator="system"></cd:source> <cd:wikipage originator="system" page="Category:Lua"></cd:wikipage> </cd:seealso>
</cd:commandgroup>

Navigation menu