Hello, Wiki and a file processed on a local computer give different results - - please compare "http://wiki.contextgarden.net/Command/doif..." and the example attached: ---- \starttext \ctxlua{test = true} Test is \ctxlua{commands.testcase(test)}{True}{False}. \ctxlua{test = false} Test is \ctxlua{commands.testcase(test)}{True}{False}. \stoptext ---- The result should be: " Test is True. Test is False. " which works fine on my computer. But wiki shows (wrongly): " Test is TrueFalse. Test is TrueFalse. " although the same code is used in the example: ---- <context source="yes" text="Gives:"> \starttext \ctxlua{test = true} Test is \ctxlua{commands.testcase(test)}{True}{False}. \ctxlua{test = false} Test is \ctxlua{commands.testcase(test)}{True}{False}. \stoptext </context> ---- Any idea why both results differ? And how to make wiki show the good result? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Taco Hoekwater