[twg-tds] storing scripts in the texmf tree

Hans Hagen pragma at wxs.nl
Sun Feb 8 23:12:57 CET 2004

At 16:07 08/02/2004, you wrote:

>  E.g. for contex's files (texexec, texutil etc.) we have a wrapper in
>bin/arch that execute
>   what=`echo $0 | sed 's at .*/@@'`
>   perl `kpsewhich -progname=context -format='other text files' $what.pl` "$@"
>So, texexec will execute perl with texexec.pl, texutil will execute perl
>with texutil.pl, etc.
>The reason for keeping the scripts in texmf and not in bin/arch is
>maintenance, not something technical.

the other advantage of using wrappers that use kpsewhich is that one can 
update scripts (e.g. in a local tree) without the need to adapt the path, 
so it nicely fits in the whole picture


More information about the twg-tds mailing list