Open main menu
Wiki
Search
Changes
← Older edit
Newer edit →
Command/doif...
(view source)
Revision as of 10:12, 4 May 2012
14 bytes added
,
10:12, 4 May 2012
m
fixed (example needs mkiv)
Block of code depending on a Lua value - example (by WS, 3/2011):
<context
mode="mkiv"
source="yes" text="Gives:">
\starttext
\ctxlua{test = true}
Test is \ctxlua{commands.testcase(test)}{True}{False}.
\ctxlua{test = false}
Taco
Bureaucrats
,
Interface administrators
,
Administrators
3,899
edits