[NTG-context] modes questions

Taco Hoekwater taco at elvenkind.com
Thu Sep 11 12:52:25 CEST 2008


Hans Hagen wrote:
> 
>> (1.2) Is there a way to call the modelist and submit it to conditional
>> testing within ConTeXt ? For example, to lookup (true/false) the
>> presence of modes containing/starting with (an) alphannumeric
>> string(s) ?
> 
> \doifmodeelse{somemode} { } { } etc etc etc

This presumes that you actually know the list of enabled modes, so
I think a commalist of "set modes" would be useful as well. Modules
could use that to set up keyword-based behaviours.

Best wishes,
Taco


More information about the ntg-context mailing list