Changes

Jump to navigation Jump to search
663 bytes added ,  03:37, 25 October 2010
\stopnotmode
</texcode>
 
<code>\startmode</code> (and <code>\startnotmode</code>) checks the value of the mode '''at the time it is executed'''. This is important when you are setting the modes using <code>\enablemode</code> or <code>\disablemode</code>. For example,
<texcode>
\enablemode[foo]
\startmode[foo]
...
\stopmode
</texcode>
the contents of the mode environment are executed because <code>foo</code> is enabled when <code>\startmode</code> is encountered. However, in
<texcode>
\startmode[foo]
...
\stopmode
\enablemode[foo]
</texcode>
the contents of the mode environment are not execited because <code>foo</code> is not enabled when <code>\startmode</code> is encountered.

Navigation menu