From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34275 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: texexec+mpost cmr10 vs CMR10 trouble using dvips backend Date: Sun, 15 Apr 2007 00:43:25 -0400 Message-ID: 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 1176612245 30972 80.91.229.12 (15 Apr 2007 04:44:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2007 04:44:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 15 06:43:55 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 1Hcwaf-0005Oy-KM for gctc-ntg-context-518@m.gmane.org; Sun, 15 Apr 2007 06:43:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CABF4200D3; Sun, 15 Apr 2007 06:43: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 01336-01; Sun, 15 Apr 2007 06:43:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD339200AB; Sun, 15 Apr 2007 06:43:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF4FE200A9 for ; Sun, 15 Apr 2007 06:43:42 +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 00405-04-2 for ; Sun, 15 Apr 2007 06:43:38 +0200 (CEST) Original-Received: from elasmtp-junco.atl.sa.earthlink.net (elasmtp-junco.atl.sa.earthlink.net [209.86.89.63]) by ronja.ntg.nl (Postfix) with ESMTP id 02C15200A3 for ; Sun, 15 Apr 2007 06:43:37 +0200 (CEST) Original-Received: from [24.41.6.91] (helo=approximate.corpus.cam.ac.uk) by elasmtp-junco.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1HcwaO-0006Ww-Ih; Sun, 15 Apr 2007 00:43:36 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.62) (envelope-from ) id 1HcwaD-00063I-HE; Sun, 15 Apr 2007 00:43:25 -0400 X-Mailer: MH-E 8.0; nmh 1.1; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d47884d156a99949ad09a361b338d9b1c7f07976a6da76f45b3c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.41.6.91 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:34275 Archived-At: A font-embedding issue puzzles me. First I make a metapost figure that uses plain tex for the label, so it uses cmr10. Then I include it in a context document to get a .ps file. The problem is that the label shows up in Courier (which ghostscript uses when it cannot find the font, I think). Here is the test.tex \starttext \externalfigure[fig.1] \stoptext and this fig.mp beginfig(1) label(btex hello etex, origin); endfig; end The commands are: mpost fig texexec --ps test gv test.ps The resulting fig.1 has these lines: %*Font: cmr10 9.96265 9.96265 65:912 ... (hello) cmr10 9.96265 fshow and test.ps has %%DocumentFonts: LMRoman12-Regular CMR10 But there's no cmr10 (lowercase) embedded in test.ps. If I generate test.pdf directly (with texexec test), then all is well. Is there a magic option or map file line that I need? [ConTeXt ver: 2007.03.19 11:20 MKII fmt: 2007.4.12] Thanks for any suggestions! The reason I'm using dvi and ps is that arxiv.org cannot handle ConTeXt submissions directly. A workaround recommended by the arxiv.org maintainers is to submit document.ps with all the source files in a separate directory (but it won't let you submit document.pdf with all the source files, a behavior that the admins say is a bug or 'oddity' but not one that they'll fix soon). -Sanjoy `Intellectual property is intellectual theft.'