![](https://secure.gravatar.com/avatar/114f07f31e228d83eece631b0937df73.jpg?s=120&d=mm&r=g)
31 May
2017
31 May
'17
3: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