![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
11 Sep
2008
11 Sep
'08
4:52 a.m.
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