* further stubs
@ 2008-03-30 14:03 Peter Münster
2008-03-30 14:12 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2008-03-30 14:03 UTC (permalink / raw)
To: ConTeXt list
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?
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: further stubs
2008-03-30 14:03 further stubs Peter Münster
@ 2008-03-30 14:12 ` Hans Hagen
2008-03-30 15:10 ` Peter Münster
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2008-03-30 14:12 UTC (permalink / raw)
To: ConTeXt list
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: further stubs
2008-03-30 14:12 ` Hans Hagen
@ 2008-03-30 15:10 ` Peter Münster
2008-03-30 15:15 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2008-03-30 15:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Mar 30 2008, Hans Hagen wrote:
> both luatools and mtxrun are meant to be unstubbed
Allright, I'll make symbolic links in my PATH. It seems to me, that I
should not need the --selfupdate then, right?
> the context command can be stubbed indeed (i need to add that one, but
> it's still somewhat experimental)
Thanks! I think especially for new ConTeXt users, it will be clearer to
type "context file" than anything else.
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: further stubs
2008-03-30 15:10 ` Peter Münster
@ 2008-03-30 15:15 ` Hans Hagen
2008-03-30 15:23 ` Peter Münster
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2008-03-30 15:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Peter Münster wrote:
> On Sun, Mar 30 2008, Hans Hagen wrote:
>
>> both luatools and mtxrun are meant to be unstubbed
>
> Allright, I'll make symbolic links in my PATH. It seems to me, that I
> should not need the --selfupdate then, right?
i think so
>> the context command can be stubbed indeed (i need to add that one, but
>> it's still somewhat experimental)
>
> Thanks! I think especially for new ConTeXt users, it will be clearer to
> type "context file" than anything else.
in mkiv more things wil be simple, for instance metapost runs are now
invisible (even multipass mp is done inside now), graphic conversion is
built in, sorting too, and there is less dependency on external programs
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: further stubs
2008-03-30 15:15 ` Hans Hagen
@ 2008-03-30 15:23 ` Peter Münster
2008-03-30 15:27 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2008-03-30 15:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Mar 30 2008, Hans Hagen wrote:
> in mkiv more things wil be simple, for instance metapost runs are now
> invisible (even multipass mp is done inside now), graphic conversion is
> built in, sorting too, and there is less dependency on external programs
Great! This means perhaps also less temporary files (file.tmp, file.tuX,
file-mpgraph.mp, mpgraph.mp and so on) ?!
Cheers, Peter
--
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: further stubs
2008-03-30 15:23 ` Peter Münster
@ 2008-03-30 15:27 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2008-03-30 15:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Peter Münster wrote:
> On Sun, Mar 30 2008, Hans Hagen wrote:
>
>> in mkiv more things wil be simple, for instance metapost runs are now
>> invisible (even multipass mp is done inside now), graphic conversion is
>> built in, sorting too, and there is less dependency on external programs
>
> Great! This means perhaps also less temporary files (file.tmp, file.tuX,
> file-mpgraph.mp, mpgraph.mp and so on) ?!
> Cheers, Peter
some are still needed, but the mpgraph files are gond as are buffers
(already in memory for some time in mkiv)
H
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-03-30 15:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 14:03 further stubs Peter Münster
2008-03-30 14:12 ` Hans Hagen
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
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).