[dev-context] \newconditional and Lua

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Apr 26 16:31:39 CEST 2011


Am 26.04.2011 um 16:15 schrieb Hans Hagen:

> On 26-4-2011 4:08, Wolfgang Schuster wrote:
>> Hi Hans,
>> 
>> is there a simple way to change the status from commands created with \newconditional id \newif from, e.g. in the following example it’s easy to pass the value of the conditional from TeX to Lua but not in the reverse way.
> 
> if tex.conditionals.whatever ...

Is there also a lua version of \settrue and \setfalse or \…true and \…false (because i saw the “tex.ifs” metatable)?

Wolfgang



More information about the dev-context mailing list