From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3823 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: problem with supp-pdf.tex Date: Fri, 19 Jan 2001 20:37:08 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010119203708.015d15a0@server-1> References: <3A68710E.3ED584B4@servicebarometer.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394537 20429 80.91.224.250 (23 Oct 2002 17:35:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:35:37 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Andreas Fieger In-Reply-To: <3A68710E.3ED584B4@servicebarometer.de> Xref: main.gmane.org gmane.comp.tex.context:3823 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3823 At 05:53 PM 1/19/01 +0100, Andreas Fieger wrote: >% Version 2000.04.28 produces an error in the MetaPost label >% (extra `[' and `]' arround words). Can you try the latest version? There have been problems with spaces [happens in strings] which were solved, >% and experimenting a bit (without really understanding >% the \TeX-code) we find (?) the problem in >% >% [\gMPa\scratchcounter]\space Indeed, that has been there for a short moment, some left over from testing. >% (see definition of \handleMPfshow in sup-pdf.tex version=2000.04.28). >% >% If we change it to >% >% \gMPa\scratchcounter\space >% >% everything seems to work fine (except for a slightly too narrow >% bounding box which is probabply due to the missing `space-character' >% in cmr; if we change the font by using defaultfont:="phvr8r"; the >% bounding box is OK). that is (at least as far as i can test) solved by using a box instead. There should be some \def\MPspacechar% {\setbox\scratchbox=\hbox{\char32}\kern\wd\scratchbox}% code in there. >% I don't understand the concept behind the macro definition it was there purely for testing and i forgot to remove it, unfortunately supp-pdf is coppied to other locations, instead of simply taking the one in the context subtree. There are a few other changes, but these deal with improved clipping and bbox issues but i don't think that that branch in the cod is used outside context. [if needed, you can convert mp graphics to stand alone pdf with the mptopdf format which also takes care of things like shading, outline fonts, and graphic inclusion in metapost code as well] So, the solution to your problem is: fetch the latest context from our site, unzip the cont-tmf file in the texmf root, and your latex will probably work again; make sure that no other copies live on your system] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------