From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32850 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: postscript problem Date: Fri, 19 Jan 2007 14:51:59 +0100 Message-ID: <45B0CCFF.3000101@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060901010702060108030305" X-Trace: sea.gmane.org 1169214756 32111 80.91.229.12 (19 Jan 2007 13:52:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Jan 2007 13:52:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 19 14:52:32 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H7uAH-0001uI-W2 for gctc-ntg-context-518@m.gmane.org; Fri, 19 Jan 2007 14:52:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D72B1FF61; Fri, 19 Jan 2007 14:47:43 +0100 (CET) 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 02444-02; Fri, 19 Jan 2007 14:47:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2C421FF10; Fri, 19 Jan 2007 14:47:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EB5D1FF9A for ; Fri, 19 Jan 2007 14:47:32 +0100 (CET) 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 02063-03-4 for ; Fri, 19 Jan 2007 14:47:24 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id A532F1FF0B for ; Fri, 19 Jan 2007 14:47:24 +0100 (CET) Original-Received: (qmail invoked by alias); 19 Jan 2007 13:51:58 -0000 Original-Received: from i577BAE69.versanet.de (EHLO [192.168.1.3]) [87.123.174.105] by mail.gmx.net (mp034) with SMTP; 19 Jan 2007 14:51:58 +0100 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: mailing list for ConTeXt users X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32850 Archived-At: This is a multi-part message in MIME format. --------------060901010702060108030305 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I have a problem with the postscript output of a MP graphic. The (attached) ps file contains a single blank line, which breaks the conversion by mptopdf. [..] [MP to PDF] (./test-mpgraph.1 Runaway argument? ! Paragraph ended before \handleMPsequence was complete. \par l.19 ? The file is converted by mptopdf, if I remove that blank line. Here is a minimal example. \setupoutput[pdftex] \setuppagenumber[state=stop] \startreusableMPgraphic{foo} draw unitsquare xyscaled(4cm,4cm) withpen pencircle scaled 1pt shifted(1cm,1cm) ; \stopreusableMPgraphic \starttext \null \useMPgraphic{foo} \stoptext I've tested it on context live, but the versions of pdftex and metapost are too old (but work without errors) for any comparison. Used versions: pdftex 1.40.1, metapost 0.933, context 18.01.2007 Any hints welcome. Peter --------------060901010702060108030305 Content-Type: application/postscript; name="test-mpgraph.1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test-mpgraph.1" %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: 27 27 143 143 %%HiResBoundingBox: 27.84831 27.84831 142.2304 142.2304 %%Creator: MetaPost 0.993 %%CreationDate: 2007.01.19:1428 %%Pages: 1 %%BeginProlog /bd{bind def}bind def /hlw{0 dtransform exch truncate exch idtransform pop setlinewidth}bd /vlw{0 exch dtransform truncate idtransform setlinewidth pop}bd /l{lineto}bd/r{rlineto}bd/c{curveto}bd/m{moveto}bd/p{closepath}bd/n{newpath}bd /C{setcmykcolor}bd/G{setgray}bd/R{setrgbcolor}bd/lj{setlinejoin}bd/ml{setmiterlimit}bd /lc{setlinecap}bd/S{stroke}bd/F{fill}bd/q{gsave}bd/Q{grestore}bd/s{scale}bd/t{concat}bd /sd{setdash}bd/rd{[] 0 setdash}bd/P{showpage}bd/B{q F Q}bd/W{clip}bd %%EndProlog %%Page: 1 1 %%HiResBoundingBox: 27.84831 27.84831 142.2304 142.2304 0 0 0 R 0.99626 vlw rd 1 lj 10 ml q 28.34645 28.34645 translate n 0 0 m 113.3858 0 l 113.3858 113.3858 l 0 113.3858 l p S Q P %%EOF --------------060901010702060108030305 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------060901010702060108030305--