From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20303 Path: news.gmane.org!not-for-mail From: bb Newsgroups: gmane.comp.tex.context Subject: texexec.pl patch Date: Tue, 10 May 2005 08:45:39 -0400 Message-ID: References: <20050508100002.AAEAA127B3@ronja.ntg.nl> <427F2ADA.8080306@elvenkind.com> <427F974F.4060501@elvenkind.com> Reply-To: skip@interbit.com, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115728769 2515 80.91.229.2 (10 May 2005 12:39:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 12:39:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 10 14:39:25 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVU0B-0007Ak-K7 for gctc-ntg-context-518@m.gmane.org; Tue, 10 May 2005 14:38:20 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BEE2F12809; Tue, 10 May 2005 14:45:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20550-08; Tue, 10 May 2005 14:45:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E8826127D6; Tue, 10 May 2005 14:45:42 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA019127D6 for ; Tue, 10 May 2005 14:45:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20628-04 for ; Tue, 10 May 2005 14:45:40 +0200 (CEST) Original-Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by ronja.ntg.nl (Postfix) with ESMTP id AA4CD1279D for ; Tue, 10 May 2005 14:45:40 +0200 (CEST) Original-Received: by zproxy.gmail.com with SMTP id 40so2797066nzk for ; Tue, 10 May 2005 05:45:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l/I4mTO72FbYtwFNotAWzLLdTxrv3YYH6mJ1pqmLgRJGRaTTAld9yNOySELndf/JwAoEY/gIFkd8hDG4EYGngYLJfVu/iuohYUdTF9MmJSPvE/lh6dXVSVYXNtScc3YvV4xgOXgTDHRX3DnQhgeil7sY5Zv9mISLQxR2wdQ/Nc0= Original-Received: by 10.36.42.19 with SMTP id p19mr1501057nzp; Tue, 10 May 2005 05:45:39 -0700 (PDT) Original-Received: by 10.36.101.6 with HTTP; Tue, 10 May 2005 05:45:39 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20303 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20303 The patch in my previous message modifies texexec.pl so that some characters are doubly escaped when kpsewhich is invoked. This strictly trial and error, so I do not claim to know exactly what is going on. But I suspect that \ and $ need to be protected from both perl and the shell when included within `backward quotes`. Perhaps this is platform or shell specific. My setup is bash on linux. Things seem to work with texlive on linux now. bb On 5/9/05, bb wrote: > I think I have things working with texlive. I will reproduce the > installation to make sure I capture all steps. It basically comes down > to: >=20 > 1) Install texlive 2004 to /usr/local/TeX >=20 > 2) (possibly optional) Compile new pdftex, pdfetex and pdfxtex and > replace executable and pool files in /usr/local/TeX/bin/i386-linux/ > and /usr/local/TeX/texmf-local/web2c/ respectively. >=20 > 3) Install beta cont-tmf.zip into /usr/local/TeX/texmf-context >=20 > 4) Edit /usr/local/TeX/texmf-local/web2c/texmf.cnf to include the > following modifications from the copy in /usr/local/TeX/texmf/web2c: > TEXMFCONTEXT=3D$SELFAUTOPARENT/texmf-context > TEXMF=3D{$HOMETEXMF,!!$VARTEXMF,$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFMAIN,= !!$TEXMFDIST} >=20 > 5) wget http://www.pragma-ade.com/context/install/linuxtex.zip > Unzip the file into a temporary directory and cd to tex/texmf-linux/bin. > Copy only the small stub scripts (all less than 50 bytes) to > /usr/local/TeX/bin/i386-linux overwriting similarly named executables. > Copy texmfstart to the same place, again overwriting the existing > executable. Delete the rest of the temporary linuxtex installation. >=20 > 6) Update /usr/local/TeX/texmf-context/scripts/context/perl/texexec.pl > with the attached patch. >=20 > 7) Download the latest lm fonts from CTAN and install them in the > correct folders in texmf-context. >=20 > 8) Run updmap. >=20 > 9) Run texexec --make --all >=20 > I'm sure I have forgotten some crucial step. Corrections and > simplifications are welcome. >=20 > On 5/9/05, Taco Hoekwater wrote: > > bb wrote: > > > > > > Reading my own words I see how they don't exactly convey warm > > > appreciation for all the hard work that has been put into context. > > > > That's ok, i have written stuff in the not so distant past that > > was much, much less appreciative. :-) > > > > > below. Since texlive 2005 is in the process of being worked out, > > > perhaps a better use of time would be to ensure that a fully > > > functional, up-to-date (and upgradable!) context gets included. > > > > It wouldn't stay up-to-date for the whole year, only for the first > > six months or so. But you are right that the current (texlive2004) > > situation is particularly messy, and an effort should be made to > > make sure that the next texlive starts off with a more stable > > situation. > > > > Taco > > > > >=20 >=20 >