From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34284 Path: news.gmane.org!not-for-mail From: "George N. White III" Newsgroups: gmane.comp.tex.context Subject: Re: texexec+mpost cmr10 vs CMR10 trouble using dvips backend Date: Sun, 15 Apr 2007 13:56:58 -0300 Message-ID: <22af238a0704150956y2d1c3cb6lef70feb15fdf41ab@mail.gmail.com> References: <4621CB0B.3000605@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176656245 7871 80.91.229.12 (15 Apr 2007 16:57:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2007 16:57:25 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 15 18:57:18 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 1Hd82Q-0004kK-Hb for gctc-ntg-context-518@m.gmane.org; Sun, 15 Apr 2007 18:57:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED718201AF; Sun, 15 Apr 2007 18:57:16 +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 08386-05-3; Sun, 15 Apr 2007 18:57:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2C241FFD8; Sun, 15 Apr 2007 18:57:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D2AAE1FFD8 for ; Sun, 15 Apr 2007 18:57:04 +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 08386-05-2 for ; Sun, 15 Apr 2007 18:57:01 +0200 (CEST) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by ronja.ntg.nl (Postfix) with ESMTP id AE7E41FAD2 for ; Sun, 15 Apr 2007 18:57:00 +0200 (CEST) Original-Received: by wr-out-0506.google.com with SMTP id 36so1314422wra for ; Sun, 15 Apr 2007 09:56:59 -0700 (PDT) Original-Received: by 10.114.171.1 with SMTP id t1mr567792wae.1176656219018; Sun, 15 Apr 2007 09:56:59 -0700 (PDT) Original-Received: by 10.114.14.8 with HTTP; Sun, 15 Apr 2007 09:56:58 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:34284 Archived-At: On 4/15/07, Sanjoy Mahajan wrote: > > If you set prologues := 1 in the mp file, that should help. > > That still gave Courier fonts after including fig.1 in test.ps. > > > In a new metapost (texlive2007) you can even generate an > > image with the font included by using prologues := 3. > > That worked. [I'm using MetaPost 0.993 (Web2C 7.5.6) from the Debian > texlive2007-2 packages.] > > >From p.24 of the corresponding mpman.pdf manual: > > It is worth noting that the default value prologues:=0 is > sufficient for graphics included in TEX-based documents. > > Does that need a slight exception added to it? Or have I > misconfigured something in the toolchain from .tex + .mp to .ps? By > the way, the figure works fine with prologues := 0 if I include it > (using epsf.tex) in a plain-TeX document. Your ConTeXt example is using the default latin modern fonts. The reason the mpost files work with plain TeX is that the cm fonts are being used by plain tex, so the fonts are already defined in the .ps file when the font commands in the figure file are found. > So I think there's something slightly off about what ConTeXt is doing. On my systems I have modified the map files to use the lm-rep map files (so cm fonts are replaced by lm fonts). Your example works for me with TL2007 on FC5 in both plain tex and context. In context, I see: TeXUtil | tuo file saved This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2007.04.15:1332' -> t.ps . [1<./fig.1>] TeXExec | runtime: 6.214806 The resulting .ps file has: %%BeginFont: CMR10 %!PS-AdobeFont-1.0: LMRoman10-Regular 1.010 while for plain tex (using dvips -P pdf ...): This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2007.04.15:1327' -> pt.ps . [1] For debian, the procedure for changing updmap.cnf has been debianized, but it is mentioned in the README for the lmodern package (watch out for a typo in the example entry: "test" --> "text"). If you do this, you might want to include the following: $ cat lm-subset-ams.map # AMS fonts not provided by lm-rep # needed with the lm-rep maps to avoid duplicate entries from the ams maps # msbm msbm5 MSBM5 Head of St. Margarets Bay, Nova Scotia