31 May
2017
31 May
'17
9:03 a.m.
if tex.modes['specialmode'] then context('I’m special.') end Best greetings, Massi
Hi, this should be easy:
How can I access ConTeXt’s modes in Lua? Is it any different with language modes (*en)?
e.g.
\startluacode
if context.modes['specialmode'] then context('I’m special.') end
\stopluacode