From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29454 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure & fonts Date: Tue, 18 Jul 2006 11:45:04 -0400 (EDT) Message-ID: References: <44BCBEEA.6010600@nibua-r.org> <44BCD2ED.1030408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153237707 17154 80.91.229.2 (18 Jul 2006 15:48:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 15:48:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 18 17:48:24 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G2rnn-0001AH-Uc for gctc-ntg-context-518@m.gmane.org; Tue, 18 Jul 2006 17:48:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8AE711281B; Tue, 18 Jul 2006 17:47:52 +0200 (CEST) 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 05833-04; Tue, 18 Jul 2006 17:47:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9AA1612854; Tue, 18 Jul 2006 17:45:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDAB212854 for ; Tue, 18 Jul 2006 17:45:21 +0200 (CEST) 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 05833-02-2 for ; Tue, 18 Jul 2006 17:45:14 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with SMTP id 34E1F12845 for ; Tue, 18 Jul 2006 17:45:07 +0200 (CEST) Original-Received: FROM aditya.engin.umich.edu (udhcp-wlan95.public.engin.umich.edu [141.213.120.105]) BY hellskitchen.mr.itd.umich.edu ID 44BD01FF.C6FF9.28352 ; 18 Jul 2006 11:45:05 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <44BCD2ED.1030408@wxs.nl> 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:29454 Archived-At: On Tue, 18 Jul 2006, Hans Hagen wrote: > Renaud AUBIN wrote: >> >> Hi all, >> >> Considering the test http://renojrl.lrv.uvsq.fr/testbed/ >> I have some problems using lucida: >> >> texexec gives some warnings: >> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi >> 420 texnansi-raw-lbr >> mktexpk: don't know how to create bitmap font for texnansi-raw-lbr. >> kpathsea: Appending font creation commands to missfont.log. >> >> and the resulting pdf leads to "Could not find a font in the Resources >> dictionary"... >> >> Moreover, I don't want to use pk... >> >> How to solve this problem to embed lucida into >> test-3d_kin_foreground.pdf ? >> Another point: I am affraid that test.pdf embed lucida twice once one >> can embed the font into the staticMPfigure's pdf... >> >> May I have to continue with my old MPgraphics or I'd rather replace >> them by staticMPfigure ? > the statics don't work well with text, i need to figure out why Something very strange is happening here. Looks like a typescript loading problem. I can not test with lucida (do not have them) but the same problem appears with palatino also. This does not work \startMPenvironment \usetypescript[palatino][ec] \setupbodyfont[palatino,10pt] \stopMPenvironment \starttext \startMPpage label.top(btex $a$ first etex,origin) ; \stopMPpage \stoptext While this works. \usetypescript[palatino][ec] \setupbodyfont[palatino,10pt] \startMPenvironment \usetypescript[palatino][ec] \setupbodyfont[palatino,10pt] \stopMPenvironment \starttext \startMPpage label.top(btex $a$ first etex,origin) ; \stopMPpage \stoptext The same thing happens in \starttext \setupoutput[pdftex] \setupcolors[state=start] \startTEXpage \convertMPtoPDF{t1-mpgraph.1}{1}{1} \stopTEXpage \stoptext where t1-mpgraph.1 is the eps file created by the first file. %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: -13 3 13 11 %%HiResBoundingBox: -12.17421 3 12.1742 10.4221 %%Creator: MetaPost 0.901 %%CreationDate: 2006.07.18:1134 %%Pages: 1 %%DocumentFonts: rpxpplri pplr8r %%BeginProlog /rpxpplri /rpxpplri def /pplr8r /pplr8r def /fshow {exch findfont exch scalefont setfont show}bind def %%EndProlog %%Page: 1 1 %%HiResBoundingBox: -12.17421 3 12.1742 10.4221 -12.17421 3.2142 moveto (a) rpxpplri 9.96265 fshow -5.26021 3.2142 moveto (\002rst) pplr8r 9.96265 fshow showpage %%EOF This explains why --mpgraphic switch does not work as expected, and thus staticMPfigure does not work. I do not know how to make this work. Aditya