Dear list, I have the following sample:
\def\ThisOption{ab} \def\ThatOption{ábc} \starttext \executesystemcommand{contextjit --purgeall --arguments="OptionThis={\ThisOption},OptionThat={\ThatOption}" second.tex} \contextversion \stoptext The contents of second.tex read: \starttext \enablemode[\env{OptionThis}] \enablemode[\env{OptionThat}] This: \doifmodeelse{ab}{enabled}{disabled}.\par That: \doifmodeelse{ábc}{enabled}{disabled}. \stoptext I use --arguments to pass modes to documents compiled via \executesystemcommand. Everything worked fine. This morning I updated ConTeXt at work (with Win7) and modes with non-ASCII chars aren’t recognized. Could anyone confirm the issue I’m describing in Windows? Is there any ConTeXt command (or Lua function) that translates non-ASCII chars to their ASCII values? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________