From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52448 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: bold and nonbold math Date: Wed, 19 Aug 2009 09:15:40 +0200 Message-ID: <4A8BA69C.6060204@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250666163 30398 80.91.229.12 (19 Aug 2009 07:16:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Aug 2009 07:16:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 19 09:15:56 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MdfOk-0004iS-LZ for gctc-ntg-context-518@m.gmane.org; Wed, 19 Aug 2009 09:15:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4321EC9AB7; Wed, 19 Aug 2009 09:15:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VlU3t7z77M6i; Wed, 19 Aug 2009 09:15:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE30CC9A81; Wed, 19 Aug 2009 09:15:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6EAF9C9A81 for ; Wed, 19 Aug 2009 09:15:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L9O7IuBxWAFd for ; Wed, 19 Aug 2009 09:15:41 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 7D457C9A63 for ; Wed, 19 Aug 2009 09:15:41 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 723-1840426 for ; Wed, 19 Aug 2009 09:15:41 +0200 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52448 Archived-At: Hans van der Meer wrote: > Working on typescripts for Y&Y's LucidaBright (which are type1 fonts) > for MKIV (hoping to maintain compatibilty with MKII), the following code > produces all math in bold, even the first x+y. > \usetypescript[luc]\setupbodyfont[luci]\starttext $x+y$ -- $\bfmath > x+y$ \stoptext > > I studied the new manual chapter on typescripts as well as have worked > in analogy with existent typescripts in the current ConTeXt base. I > certainly am missing an important clue here. the most important clue is that mkii and mkiv are different (1) instead of many families we only use two, see type-siz.mkiv, where you can find lines like: \definebodyfont [12pt] [mm] [mr=LMMathRoman12-Regular sa 1, mb=LMMathRoman12-Bold sa 1] (2) there is a distinction between bold alphabets (see unicode math) and a complete switch to bold; so, \bf cum suis deal with alphabets, while \mb switches to the bold math family (3) we use either opentype math fonts or virtual ones, i.e. if you use lucida, which is traditional, we need an entry in math-vfu.lua, and in the beta that is the case (but not for bold) (4) no math vectors are used in mkiv, only unicode (5) as loading and switching comes a price, we need to enable it with \enableboldmath before loading fonts so, although most things on the outside are the same in mkii/mkiv there are some fundamental differences Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________