ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-CONTEXT <ntg-context@ntg.nl>
Subject: Re: Context overzetten naar TeTeX-tree
Date: Fri, 19 Jun 1998 10:23:30 +0200	[thread overview]
Message-ID: <358A2002.7358AE50@wxs.nl> (raw)

Taco Hoekwater wrote:

> >   #!/bin/sh
> >   pdftex -fmt=`basename $0` -progname=context "$@"
> >
> > That would allow to do:
> >   cont-nl -ini cont-nl
> >   cont-nl somefile
> 
> The idea looks very smart to me, but a tiny C wrapper is probably
> better because the win32 web2c doesn't have /bin/sh. Also, I am
> wondering whether Hans can give us a calling convention for the
> various format files/executables:
> 
>         tex     cont-nl   ??
>         etex    econt-nl  ??
>         pdftex  pcont-nl  ??

I'm not sure, but doesn't etex generate .efmt? 

> I have all of those, and these happen to be the names I use, but if
> Hans has a different scheme at Pragma I'd prefer to use that.

I'm working on something: 

>texexec --help

TeXExec 1.01 - ConTeXt / PRAGMA 1997-1998

            --language   main hyphenation language
              --output   specials to use
               --print   page imposition scheme
               --paper   paper input and output format
           --interface   user interface

>texexec --help print

TeXExec 1.01 - ConTeXt / PRAGMA 1997-1998

               --print   page imposition scheme
                           =up : 2 pages per sheet doublesided
                           =down : 2 rotated pages per sheet doublesided

etc etc 

This perl script generates an appropriate cont-set.tex file that is read
at runtime (you can already try this). 

Because I use texedit, I can say: 

  set format=cont-en 

or 

  set format=plain 

or whatever, before starting. 

It seems that web2c supports something 

%& cont-en   % first line in file

but I didn't test it yet. 

I'm a bit busy (some deadlines already passed), buy I'll work on it. 

Hans 

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@pi.net
-----------------------------------------------------------------


             reply	other threads:[~1998-06-19  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-19  8:23 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-19  5:46 Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=358A2002.7358AE50@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).