Difference between revisions of "Command/cldcontext"
< Command
Jump to navigation
Jump to search
(Create that page!) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>cldcontext</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 35: | Line 38: | ||
* {{cmd|cldcontext}} | * {{cmd|cldcontext}} | ||
* {{cmd|cldcommand}} | * {{cmd|cldcommand}} | ||
+ | * {{cmd|ctxcommand}} | ||
* {{cmd|cldprocessfile}} | * {{cmd|cldprocessfile}} | ||
Latest revision as of 17:26, 12 November 2019
\cldcontext
Syntax (autogenerated)
\cldcontext{...} | |
{...} | command |
Syntax
\cldcontext{...} | |
{...} | valid argument(s) for Lua's context() function |
Description
Pass an argument to Lua's context(...)
command. The text is
inserted as-is, so you'll want to add quotations marks.
\def\cldcontext #1{\directlua\zerocount{context(#1)}} % so \cldcontext{some code} --> \directlua{context(some code)} % and \cldcontext{"some code"} --> \directlua{context("some code")}
Example
\cldcontext{"\\section{One}"} \cldcontext{2 * 4}
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: