[NTG-context] troubles with \enablemode

Damien Thiriet damien at thiriet.web4me.fr
Fri Oct 30 19:26:34 CET 2020


Hi @list,


I don't fully understand the \enablemode mechanism. Given this MWE:


\startmode[test]
\setupframedtext [foregroundcolor=white,style={\tfa}]
\stopmode


\starttext
\startframedtext
ceci est un texte
\stopframedtext
\enablemode [test]
\startframedtext
ceci est un texte
\stopframedtext
\stoptext

I cannot see the expected effect when I compile, that is both texts are
in black. When I compile with
context --mode=test 
both framed texts are in white, which is what I expect.

What did I miss?

Best regards,

Damien Thiriet 


More information about the ntg-context mailing list