From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9567 Path: main.gmane.org!not-for-mail From: "Andreas Fieger" Newsgroups: gmane.comp.tex.context Subject: [NTG-context] Bug in supp-pdf.tex/supp-mis.tex (?) Date: Fri, 18 Oct 2002 14:30:29 +0200 Sender: ntg-context-admin@ref.vet.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399876 4092 80.91.224.250 (23 Oct 2002 19:04:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:04:36 +0000 (UTC) Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9ICXie22472 for ; Fri, 18 Oct 2002 14:33:44 +0200 (MEST) Original-Received: from ref.vet.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Fri, 18 Oct 2002 14:33:18 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id A09BE10AE4; Fri, 18 Oct 2002 14:33:13 +0200 (MEST) Original-Received: from relay.teamware-gmbh.de (relay.teamware-gmbh.de [212.29.0.3]) by ref.ntg.nl (Postfix) with ESMTP id CF19110AD7 for ; Fri, 18 Oct 2002 14:32:09 +0200 (MEST) Original-Received: from michael (unknown [212.29.9.22]) by relay.teamware-gmbh.de (Postfix) with SMTP id ED464A800F for ; Fri, 18 Oct 2002 14:32:08 +0200 (MET DST) Original-Received: from 192.168.0.97:3979 by KEN! (0.0.0.0:25) with SMTP Fri Oct 18 14:33:55 2002 +0200 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Errors-To: ntg-context-admin@ref.vet.uu.nl X-BeenThere: ntg-context@ref.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:9567 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9567 Hello, though this is only partly a context question, I think this is the best place to ask. I am creating MetaPost figures containing text. When these are included in a TeX document processed by pdfLaTeX, context's supp-pdf.tex is loaded to perform the conversion. Consider the simple MP file (the space is essential) -------------------------------------- defaultfont:="ptmr8r"; beginfig(1); label(" 11", origin); endfig; -------------------------------------- This will result in a file like %%Page: 1 1 -6.25003 -3.38997 moveto ( 11) ptmr8r 10.00005 fshow showpage %%EOF If this MP file is included in a context document, everything is fine. -------------------------------------- \starttext \placefigure[][]{}{\externalfigure[minimal.mps]} \stoptext -------------------------------------- If it is included in a LaTeX document -------------------------------------- \documentclass{article} \usepackage[dvips]{graphicx} \begin{document} \includegraphics{minimal.mps} \end{document} -------------------------------------- converted to ps with dvips, still everything is fine. When using -------------------------------------- \usepackage[pdftex]{graphicx} -------------------------------------- and pdfLaTeX to compile the file (this is when supp-pdf.tex is used), the " 11" disappears. I found this problem with every number from 11, 22, to 99 with a leading space -- even in the middle of a string: "Text: 118" would come out as "Text: 8". I don't have any clue what's going wrong. Any ideas? PS: Hans was so kind to provide a new supp-pdf.tex after a similar problem with labels startimg with an umlaut? file=supp-pdf.tex version=2001.07.27 file=supp-mis.tex version=1997.01.04 are used. Thanks, Andreas -- Dr. Andreas Fieger ServiceBarometer AG Tel (089) 896669-17 _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://ref.ntg.nl/mailman/listinfo/ntg-context