From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29568 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigure & fonts Date: Fri, 21 Jul 2006 11:45:19 -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 1153497043 17017 80.91.229.2 (21 Jul 2006 15:50:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 15:50:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 21 17:50:37 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 1G3xG5-0005HZ-1X for gctc-ntg-context-518@m.gmane.org; Fri, 21 Jul 2006 17:49:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F32B128B6; Fri, 21 Jul 2006 17:49:41 +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 23738-03; Fri, 21 Jul 2006 17:49:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1310E128B8; Fri, 21 Jul 2006 17:45:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB92F128B8 for ; Fri, 21 Jul 2006 17:45:28 +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 23439-03-2 for ; Fri, 21 Jul 2006 17:45:23 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with SMTP id 9D59A128B6 for ; Fri, 21 Jul 2006 17:45:21 +0200 (CEST) Original-Received: FROM aditya.engin.umich.edu (udhcp-wlan102.public.engin.umich.edu [141.213.120.112]) BY skycaptain.mr.itd.umich.edu ID 44C0F68E.38C04.3178 ; 21 Jul 2006 11:45:19 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: 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:29568 Archived-At: On Tue, 18 Jul 2006, Aditya Mahajan wrote: > 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. The statics are working with the alpha. The maps seem to be correctly identified in the tests taht I made. > 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 This still does not work, but as Hans explained, one should have a [global] with MPenvironments anyway. > \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 The temp file that is created has \loadmapfile[...] in the begining, and with that the following works correctly. > \starttext > \setupoutput[pdftex] > \setupcolors[state=start] > \startTEXpage > \convertMPtoPDF{t1-mpgraph.1}{1}{1} > \stopTEXpage > \stoptext Aditya