27 May
2011
27 May
'11
12:22 p.m.
I'd like to do the following type of setup.
if mainlanguage == kr then
do something A
elseif mainlanguage == en then
do something B
else do something C
endif
\starttext \startluacode if languages.current() == "kr" then context("Something A") elseif languages.current() == "en" then context("Something B") else context("Something C") end \stopluacode \stoptext Marco