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 ... (virtual table, maybe I'll change the namespace) there are also tex.constants and tex.modes Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------