Alan Stone wrote:
Hi,
(1) --mode=modelist
(1.1) Is there a limit to the number of modes in modelist ?
no, just what the console and memory permit
(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
(2) --modefile=file
(2.1) What's the syntax of a modefile ?
this concerns examodes stuff that we use for process control at pragma
(2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a modelist ( re: question 1.2 ) ?
best use ctx files instead, like in == somefile.ctx === <?xml version='1.0' standalone='yes'?> ctx:job ctx:preprocess/ ctx:flags ctx:flagtexengine=luatex ctx:flaginterface=en ctx:process ctx:resources ctx:modeproofing ctx:environmentsomestyle.tex ctx:postprocess/ texexec .... --ctx=somefile ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------