From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64362 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: Math and bold font: \definetypeface Date: Wed, 08 Dec 2010 11:24:36 +0100 Message-ID: <09574017-8392-49F3-A7F3-356BD6F1AAD3@awi.de> References: <20101203153039.GA4262@smoon> <4CFA01FD.5070001@wxs.nl> <1E09188B-E8D3-46C5-BDA0-0DBA1E6C29F8@awi.de> 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: dough.gmane.org 1291976375 23268 80.91.229.12 (10 Dec 2010 10:19:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 10:19:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 10 11:19:31 2010 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.69) (envelope-from ) id 1PR04X-0001Aj-WB for gctc-ntg-context-518@m.gmane.org; Fri, 10 Dec 2010 11:19:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 621AFCA8BD; Fri, 10 Dec 2010 11:17:03 +0100 (CET) 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 Tp15dY2-FFx6; Fri, 10 Dec 2010 11:17:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1851CA90E; Fri, 10 Dec 2010 11:11:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF4D7CA90E for ; Fri, 10 Dec 2010 11:11:01 +0100 (CET) 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 Cv-YqKDdXf6K for ; Fri, 10 Dec 2010 11:10:59 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 10009CA8BD for ; Wed, 8 Dec 2010 11:24:45 +0100 (CET) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB8AOiqx024193 for ; Wed, 8 Dec 2010 11:24:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 9C84CD2E73 for ; Wed, 8 Dec 2010 11:24:43 +0100 (MET) X-Virus-Scanned: amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails3.awi.de [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id E4A+xAmj8SgR for ; Wed, 8 Dec 2010 11:24:36 +0100 (MET) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id C0E58D2E6A for ; Wed, 8 Dec 2010 11:24:36 +0100 (MET) Original-Received: from vpn-awinet-16-3.awi.de ([unknown] [172.28.16.3]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0LD300EOOU90BQ70@msg.awi.de> for ntg-context@ntg.nl; Wed, 08 Dec 2010 11:24:36 +0100 (MET) In-reply-to: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0025 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.14; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDEyoInk - 820622c4a9ca - 20101208 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:64362 Archived-At: > To get back to my problem: > > The default Ctx bodyfont (CMR) is all right for me, I don't need to change it (but it's possible, if it should simplify something). If you don't need CMR, than simply don't use. It does not have greek boldmath/upright anyway. > If I understand well, the default Ctx font - CMR - is used for typesetting [bold]math as well. But the problem is that it fails when typesetting bold Greek letters. Right. > What code - \typescript, \define???font??? - to use? > > Just to make the code "$Abc \alpha = {\aSwitchToBoldMath Abc \alpha} = or \aCommandToTypeBoldMath{Abc \alpha}$ work. Minimal example that uses Tex Gyre Pagella and Heros for serif and sans, and either Cambria, Asana, Neo Euler, or XITS for math (comment in your choice and make sure that context finds the fonts): \starttypescript [myface] \definetypeface [\typescriptone] [rm] [serif] [pagella] [default] \definetypeface [\typescriptone] [ss] [sans] [heros] [default] \definetypeface [\typescriptone] [tt] [mono] [modern] [default] %\definetypeface [\typescriptone] [mm] [math] [cambria][default] %\definetypeface [\typescriptone] [mm] [math] [asana][default] %\definetypeface [\typescriptone] [mm] [math] [euler][default] \definetypeface [\typescriptone] [mm] [math] [xits][default] \stoptypescript \setupbodyfont[myface] \starttext Pagella \par {\ss Heros} \par {\tt Modern Typewriter} \par $Abc \beta = {{\bi Abc} \bf Abc \beta \mathgreekupright \beta}$ \stoptext Note that Neo Euler does not have italics and there are no fallbacks for bold/greek italic. So ${\bi A} \bf \beta$ will be displayed as $A \beta$. Best wishes, Florian ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________