From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19973 Path: news.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: new beta Date: Tue, 19 Apr 2005 09:10:14 -0400 Message-ID: <1113916214.10209.1.camel@tempete.lac.qc.ca> References: <425D820E.5080003@wxs.nl> <57fe161a238be08bb18f9dd620796f33@uni-bonn.de> <7a5840f3fbb26f4c3e30df40260e8b6c@uni-bonn.de> <1113573811.3426.21.camel@tempete.lac.qc.ca> <425FDAAE.3010708@wxs.nl> <1113579818.10335.8.camel@m51.ASTRO.UMontreal.CA> <1113759127.18035.14.camel@tempete.lac.qc.ca> <4264B6A5.1020803@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1113916045 30259 80.91.229.2 (19 Apr 2005 13:07:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 13:07:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 19 15:07:22 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 1DNsQg-0005JG-7v for gctc-ntg-context-518@m.gmane.org; Tue, 19 Apr 2005 15:06:15 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B2C3127C2; Tue, 19 Apr 2005 15:10:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02987-05; Tue, 19 Apr 2005 15:10:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4F5012793; Tue, 19 Apr 2005 15:10:18 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D053F12793 for ; Tue, 19 Apr 2005 15:10:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02990-02 for ; Tue, 19 Apr 2005 15:10:16 +0200 (CEST) Original-Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by ronja.ntg.nl (Postfix) with ESMTP id 939291277B for ; Tue, 19 Apr 2005 15:10:16 +0200 (CEST) Original-Received: from [69.156.160.22] by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050419131014.BYXX21470.tomts22-srv.bellnexxia.net@[69.156.160.22]> for ; Tue, 19 Apr 2005 09:10:14 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <4264B6A5.1020803@wxs.nl> X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19973 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19973 Le mardi 19 avril 2005 =C3=A0 09:43 +0200, Hans Hagen a =C3=A9crit : > David Munger wrote: > > Hans, > >=20 > > That's not enough. There is another problem when ConTeXt text has to = be > > rendered from inside MetaPost graphics. Consider the following code: > >=20 > > \starttext > > \startuseMPgraphic{mptest} > > label (btex test etex, origin); > > \stopuseMPgraphic > > \useMPgraphic{mptest} > > \stoptext > >=20 > > Even with the patch for texexec.pl ($cmd =3D~ s/([^\\])\&/$1\\\&/io ;= ), it > > fails. > >=20 > > The problem occurs during the call to: > >=20 > > pdfetex -progname=3Dcontext \&cont-en > >=20 > > from within texexec.pl. > >=20 > > But surprisingly, it compiles successfully with the '\&' fix in > > texexec.ini. I guess that pdfetex has to call ConTeXt somehow in orde= r > > to produce the `btex/etex' output, but that instance of ConTeXt doesn= 't > > do the shell escaping correctly. > >=20 > > Any clue? What script should I look into? >=20 > what shell do you use? bash The first escaping works. The problem occurs only when compiling the MetaPost. David