From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8593 Path: main.gmane.org!not-for-mail From: Siep Newsgroups: gmane.comp.tex.context Subject: Re: metafun tryout Date: Tue, 9 Jul 2002 10:03:14 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020709100314.3ad386c9.siep@elvenkind.com> References: <5.1.0.14.1.20020624181134.03768360@server-1> <20020624153654.A7786@cs.cmu.edu> <5.1.0.14.1.20020625174909.03c64a80@remote-1> <20020626170438.C2530@cs.cmu.edu> <5.1.0.14.1.20020627184717.04496168@remote-1> <20020627142428.A13408@cs.cmu.edu> <5.1.0.14.1.20020628090627.031be3e0@server-1> <20020630232250.B17393@cs.cmu.edu> <5.1.0.14.1.20020701142018.032f5388@server-1> <20020708143921.D28044@cs.cmu.edu> Reply-To: siep@elvenkind.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035398985 28863 80.91.224.250 (23 Oct 2002 18:49:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:49:45 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <20020708143921.D28044@cs.cmu.edu> Xref: main.gmane.org gmane.comp.tex.context:8593 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8593 On Mon, 8 Jul 2002 14:39:21 -0400 "David Petrou" wrote: > ------------------------------------------------------------------ > ---- i'm using tetex that comes with an old context. i want to > replace this old context with the latest. so, i: > > su to root > > cp cont-tmf.zip to /usr/share/texmf > go there and unzip cont-tmf.zip. > remove the zip. > > cd context/perltk > bash-2.04# ln -s fdf2tan.pl fdf2tan > bash-2.04# ln -s fdf2tex.pl fdf2tex > bash-2.04# ln -s makempy.pl makempy > bash-2.04# ln -s mptopdf.pl mptopdf > bash-2.04# ln -s texexec.pl texexec > bash-2.04# ln -s texfind.pl texfind > bash-2.04# ln -s texfont.pl texfont > bash-2.04# ln -s texshow.pl texshow > bash-2.04# ln -s texutil.pl texutil > > chmod 755 *pl > > now, from my TeTeX installation, /usr/bin/texexec is a symlink to > /usr/share/texmf/teTeX/bin/i386-linux-glibc/texexec, which is an > old texexec. so, what i do is make sure that > /usr/share/texmf/context/perltk is before /usr/bin in my PATH > environment variable to make sure that the new version will get > run. In later versions of tetex, texexec is a script which calls the real texexec.pl: ===================================== #!/bin/sh # find out which program is wanted by # removing everything from the first parameter # up to and including the last forward slash. # there are symlinks to texexec, so this script may also be # called as texutil what=`echo $0 | sed 's@.*/@@'` # find the exact location of $what.pl p=`kpsewhich -progname=context -format='other text files' $what.pl` { test -n "$p" && test -f "$p"; } \ || { echo "\`$what.pl' not found."; exit 1; } # run the script perl "$p" "$@" ==================================== So if your teTeX is recent enough then you can leave the perl scripts where they are. This may have nothing to do with your problem, but it does simplify installation. -- Siep Kroonenberg siep@elvenkind.com