On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen <pragma@wxs.nl> wrote:
Alan Stone wrote:
> (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:flag>texengine=luatex</ctx:flag>
        <ctx:flag>interface=en</ctx:flag>
    </ctx:flags>
    <ctx:process>
        <ctx:resources>
            <ctx:mode>proofing</ctx:mode>
            <ctx:environment>somestyle.tex</ctx:environment>
        </ctx:resources>
    </ctx:process>
    <ctx:postprocess/>
</ctx:job>

texexec .... --ctx=somefile

How about the other texexec options,
re: http://linux.die.net/man/1/texexec ?
Which ones go where in the ctx file
+ what is their syntax ?

--
Best,
Alan

Ubuntu 8.04 Hardy Heron (Desktop)
  * ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int: english/english  (ConTeXt minimals installation)
  * texexec --lua foo