From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44418 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: modes questions Date: Mon, 29 Sep 2008 17:00:03 +0200 Message-ID: <326847810809290800j16fa684fr79f6a34765de5e97@mail.gmail.com> References: <326847810809110247m2ae86edch725ae07e34e0a6e7@mail.gmail.com> <48C8F71E.50408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1352618452==" X-Trace: ger.gmane.org 1222700555 29087 80.91.229.12 (29 Sep 2008 15:02:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2008 15:02:35 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 29 17:03:31 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KkKH0-0001t2-Na for gctc-ntg-context-518@m.gmane.org; Mon, 29 Sep 2008 17:02:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6A7541FC20; Mon, 29 Sep 2008 17:01:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10777-09-20; Mon, 29 Sep 2008 17:01:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E3EA1FE6D; Mon, 29 Sep 2008 17:01:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAEB11FE0D for ; Mon, 29 Sep 2008 17:01:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10031-02-27 for ; Mon, 29 Sep 2008 17:00:26 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.145]) by ronja.ntg.nl (Postfix) with ESMTP id B3E911FE75 for ; Mon, 29 Sep 2008 17:00:03 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 21so485101eyc.38 for ; Mon, 29 Sep 2008 08:00:03 -0700 (PDT) Original-Received: by 10.210.123.2 with SMTP id v2mr6332694ebc.186.1222700403412; Mon, 29 Sep 2008 08:00:03 -0700 (PDT) Original-Received: by 10.210.16.2 with HTTP; Mon, 29 Sep 2008 08:00:03 -0700 (PDT) In-Reply-To: <48C8F71E.50408@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44418 Archived-At: --===============1352618452== Content-Type: multipart/alternative; boundary="----=_Part_42449_7284538.1222700403415" ------=_Part_42449_7284538.1222700403415 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen 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 === > > > > > > > texengine=luatex > interface=en > > > > proofing > somestyle.tex > > > > > > 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 ------=_Part_42449_7284538.1222700403415 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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
------=_Part_42449_7284538.1222700403415-- --===============1352618452== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________ --===============1352618452==--