Using --mode or --modes with texexec sets up modes which can be used
in the files to parse different parts.
For that I use \doifmodeelse{}{}{}
But combining various modes in one \doiffmodeelse would be handy.
e.g. (pseudocode)
if mode is workinprogress or test
or the other way around
On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
Using --mode or --modes with texexec sets up modes which can be used in the
files to parse different parts.
For that I use \doifmodeelse{}{}{}
But combining various modes in one \doiffmodeelse would be handy.
e.g.
Hi Gerben
So I would like something like
\doifmodeselse{all,editor)
that should work already with \doifmodeelse, where the default is 'or'
there is also an 'and':
\doifallmodeselse{all,editor)
\doiffmodeselse{not test or editor}
maybe later, in mkiv
test:
\starttext
\enablemode[a,c]
For your information...
http://www.pragma-ade.com/general/manuals/mmodes.pdf
Alan
On Thu, Apr 2, 2009 at 6:28 PM, Alan Stone software.list.1e...@gmail.comwrote:
On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nlwrote:
Using --mode or --modes with texexec sets up modes which