On 5/11/22 09:40, Gerben Wierda via ntg-context wrote:
On 11 May 2022, at 08:59, Taco Hoekwater
wrote: [...] The language settings trigger a system mode, see Thanks, but how do I influence this from the command line? Does it work the other way around, so with “—mode=en”? Hi Gerben,
I think this may do the trick: \doiftext{\env{ml}} {\mainlanguage[\env{ml}]} \starttext Document main language: \startmodeset [**en] {English} [**es] {Spanish} [**de] {German} [**nl] {Dutch} [**ru] {Russian} \stopmodeset% . \stoptext Of course, "--arguments=ml=nl" would be the right option to pass the language from the command line. AfaIk, there is not "--language" option from the command line. (This also makes sense to me.) Just in case it might help, Pablo