Peter Münster wrote:
> Hello,
> 
> How can I set a mode in a ctx-file? I would like to pass such a file to
> "context --ctx=file ..."
> 
> If further modes are passed with --mode=..., these modes should not replace
> the mode in the ctx-file, but should be added.

<?xml version='1.0' standalone='yes'?>

<ctx:job>
     <ctx:message>some project</ctx:message>
     <ctx:preprocess/>
     <ctx:flags>
         <ctx:flag>texengine=luatex</ctx:flag>
         <ctx:flag>interface=en</ctx:flag>
     </ctx:flags>
     <ctx:process>
         <ctx:resources>
             <ctx:environment>somestyle.tex</ctx:environment>
             <ctx:mode>proofing</ctx:mode>
         </ctx:resources>
     </ctx:process>
     <ctx:postprocess/>
</ctx:job>



-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to