From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15024 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Possible bug in texexec Date: Fri, 16 Apr 2004 09:31:04 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.1.1.2.20040416093005.027d75b0@server-1> References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1082101070 14817 80.91.224.253 (16 Apr 2004 07:37:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 07:37:50 +0000 (UTC) Cc: Morten =?iso-8859-1?Q?H=F8gholm?= Original-X-From: ntg-context-admin@ntg.nl Fri Apr 16 09:37:41 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BENuv-0001gm-00 for ; Fri, 16 Apr 2004 09:37:41 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id F044910B2F; Fri, 16 Apr 2004 09:34:08 +0200 (MEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id 8E83C10B13 for ; Fri, 16 Apr 2004 09:32:22 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i3G7Zcs9004359; Fri, 16 Apr 2004 09:35:38 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id D8F3B17AFB; Fri, 16 Apr 2004 09:35:49 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 62EA3206B6; Fri, 16 Apr 2004 07:35:47 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: X-Virus-Scanned: clamd / ClamAV version devel-20040415, clamav-milter version 0.70i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15024 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15024 At 20:35 15/04/2004, you wrote: >Dan Luecking has reported the following problem on c.t.t.: > >When mptopdf is used on a .mp file it preprocesses the file and >the result (on my system it seems always to be named mptrace.tmp) >is run through mpost. This mptrace.tmp has new-lines after every >semicolon (;). This causes an error when the semicolon is part of >a literal string, because mpost syntax requires such strings to be >entirely on one line. the reason for adding newlines after ;'s is that there have been problems with the metapost buffer length i didn't test itm, but maybe s/(btex.*?)\;(.*?etex)/$1\@\@\@$2/gmois; s/(\".*?)\;(.*?\")/$1\@\@\@$2/gmois; # add this line s/\;/\;\n/gmois; s/\n\n/\n/gmois; s/(btex.*?)\@\@\@(.*?etex)/$1\;$2/gmois; s/(\".*?)\@\@\@(.*?\")/$1\;$2/gmois; # and this one somewhere around line 2260 in texexec.pl will help Hans