Difference between revisions of "Command/startctxfunction"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \startctxfunction ... \stopctxfunction")
 
(No difference)

Latest revision as of 14:57, 27 August 2020


\startctxfunction ... \stopctxfunction

Summary

The environment \startctxfunction ... \stopctxfunction defines a lua function from within TeX code.

Settings

\startctxfunction ... ... \stopctxfunction
... name

Description

This defines a lua function without arguments that can be called from TeX using the \ctxfunction macro. The defined function has no arguments.

Examples

Example 1

\startctxfunction foo
  context('hello')
\stopctxfunction

\ctxfunction{foo}

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: