ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: Re: further stubs
Date: Sun, 30 Mar 2008 16:12:18 +0200	[thread overview]
Message-ID: <47EF9FC2.9070000@wxs.nl> (raw)
In-Reply-To: <20080330140358.GA1068@gaston.couberia.bzh>

Peter Münster wrote:
> Hello,
> 
> I suggest putting 3 further stubs into .../scripts/context/stubs/unix :
> 
> 1.) luatools:
> 
> #!/bin/sh
> texmfstart luatools.lua "$@"
> 
> 
> 2.) mtxrun:
> 
> #!/bin/sh
> texmfstart mtxrun.lua "$@"
> 
> 
> 3.) context (same file as .../scripts/context/lua/context):
> 
> #!/bin/sh
> mtxrun --script context $@
> 
> 
> This has 2 advantages:
> - you can put .../scripts/context/stubs/unix in your PATH
> - you can type "texexec file" for MKII and "context file" for MKIV
> 
> (same for MS-Win of course)
> 
> What do you think?

both luatools and mtxrun are meant to be unstubbed

(1) luatools itself knows about the tree and therefore can start pretty 
fast

(2) mtxrun is the replacement for texmfstart so in our case one would 
have a slow stub loading a fast stub loading a program; i didn't test it 
but texmfstart could be a symlink to mtxrun

the context command can be stubbed indeed (i need to add that one, but 
it's still somewhat experimental)

	luatools --selfupdate
	mtxrun --selfupdate

should result in an updated versions

Hans

-----------------------------------------------------------------
                                           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 : 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
___________________________________________________________________________________


  reply	other threads:[~2008-03-30 14:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30 14:03 Peter Münster
2008-03-30 14:12 ` Hans Hagen [this message]
2008-03-30 15:10   ` Peter Münster
2008-03-30 15:15     ` Hans Hagen
2008-03-30 15:23       ` Peter Münster
2008-03-30 15:27         ` Hans Hagen

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=47EF9FC2.9070000@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).