From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31548 Path: news.gmane.org!not-for-mail From: "M.J. Kallen" Newsgroups: gmane.comp.tex.context Subject: Re: how to define a new math symbol Date: Wed, 25 Oct 2006 02:35:48 -0700 (PDT) Message-ID: <20061025093549.55083.qmail@web51810.mail.yahoo.com> 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 1161769193 29881 80.91.229.2 (25 Oct 2006 09:39:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2006 09:39:53 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 25 11:39:49 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 1GcfEj-00087B-5d for gctc-ntg-context-518@m.gmane.org; Wed, 25 Oct 2006 11:39:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CFA191FF7C; Wed, 25 Oct 2006 11:39:48 +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 22204-02; Wed, 25 Oct 2006 11:39:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6F501FF7D; Wed, 25 Oct 2006 11:35:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8FDF61FF85 for ; Wed, 25 Oct 2006 11:35:56 +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 22098-01-4 for ; Wed, 25 Oct 2006 11:35:55 +0200 (CEST) Original-Received: from web51810.mail.yahoo.com (web51810.mail.yahoo.com [206.190.38.241]) by ronja.ntg.nl (Postfix) with SMTP id 50B971FF7C for ; Wed, 25 Oct 2006 11:35:55 +0200 (CEST) Original-Received: (qmail 55085 invoked by uid 60001); 25 Oct 2006 09:35:49 -0000 Original-Received: from [145.50.39.8] by web51810.mail.yahoo.com via HTTP; Wed, 25 Oct 2006 02:35:48 PDT Original-To: mailing list for ConTeXt users 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:31548 Archived-At: Great, it works! Running "texexec --pdf test-prodint" worked immediately, but "xdvi test-prodint.dvi" gave me an error relating to mktexpk not being able to create a bitmap font. Solved this problem by running "updmap --enable Map prodint.map". I don't think I could have done this myself, as I do not understand some of the steps in your solution. Thank you very much! Maarten-Jan ----- Original Message ---- From: Taco Hoekwater To: mailing list for ConTeXt users Sent: Wednesday, October 25, 2006 10:40:10 AM Subject: Re: [NTG-context] how to define a new math symbol M.J. Kallen wrote: > Taco, > > > I'm not sure I understand your question. I'm using TexLive on a linux > system. I do not use any other fonts other than CM. That last bit of information is crucial, because there is a difference between font handling between CM/Lm and commercial fonts. I've been skyping with Hans and he came up with the code below. You can use the font files from the LaTeX zip, you just have to make sure that pdftex can find the (map) file, of course. Cheers, taco % test-prodint.tex \definefontsynonym [MathGamma] [prodint] \definefamilysynonym [default] [xop] [mc] \startmathcollection [default] \definemathsymbol [prodi] [op] [xop] [80] %80 prodinttext \definemathsymbol [Prodi] [op] [xop] [82] %82 prodintdisplay \definemathsymbol [PRODI] [op] [xop] [84] %84 prodintbig \stopmathcollection \loadmapfile[prodint] \starttypescript [math] [modern,computer-modern,latin-modern,ams] [size] \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint] \stoptypescript \definetypeface [modern] [mm] [math] [modern] [computer-modern][encoding=default] \setupbodyfont[reset,modern,10pt] \enablemathcollection[prodint] \starttext $\prodi$ \stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context