Changes

Jump to navigation Jump to search
5 bytes added ,  18:33, 13 February 2010
m
→‎Setting modes: changing tags
ConTeXt has three commands for setting modes:
* <code>\<cmd>enablemode </cmd> [...]</code>* <code>\<cmd>disablemode</cmd>[...]</code>* <code>\<cmd>preventmode</cmd>[...]</code>
The names are self explanatory. <codecmd>\enablemode</codecmd> activates a mode,<codecmd>\disablemode</codecmd> deactivates a mode, and <codecmd>\preventmode</codecmd> permanently
deactivates a mode. All three commands take a list of modes as an argument. For
example, you can activate <codett>screen</codett> and <codett>solution</codett> modes by
<texcode>
\enablemode[screen,solution]
Modes can also be activated by a command line switch <code>--modes</code> to
<code>texexec</code> and <code>context</code>. For example, to activate <codett>screen</codett> and<codett>solution</codett> modes, you can run ConTeXt using
texexec --mode=screen,solution ...

Navigation menu