On 5/22/2016 3:33 PM, Meer, Hans van der wrote:
On 22 May 2016, at 15:11, Hans Hagen <[email protected]
<mailto:[email protected]>> wrote:
Finally, when \definemode makes testing a lot faster why than not
implement this always? That is, using \enablemode or \disablemode the
first time implies a \definemode for that mode. Doing so avoids
another macro to remember: less clutter for my brain ;-)
because one property of modes is that one doesn't have to define them,
you'd be quite unhappy if you would have to define all possible modes
that could be introduced in styles
The idea was not to have the user define the mode, but let ConTeXt
automatically do the defining when it encounters a specific mode the
first time. The work is done by ConTeXt then (would make me even more
happy ;-)
it does define them when undefined but even then it gets a special state
(modes can be in enable, disable or prevent state)
normnally it's not something a user need to worry about
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________