From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64293 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: Math and bold font: \definetypeface Date: Mon, 06 Dec 2010 15:37:47 +0100 Message-ID: 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="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291646315 17368 80.91.229.12 (6 Dec 2010 14:38:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 14:38:35 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 06 15:38: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 1PPcD1-0000hU-Fg for gctc-ntg-context-518@m.gmane.org; Mon, 06 Dec 2010 15:38:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CDE0CA8EB; Mon, 6 Dec 2010 15:38:25 +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 Zt9Q7yYu+2H3; Mon, 6 Dec 2010 15:38:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0EB4CA8E7; Mon, 6 Dec 2010 15:38:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9AD49CA8E7 for ; Mon, 6 Dec 2010 15:38:02 +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 KbLOemwV34bI for ; Mon, 6 Dec 2010 15:37:55 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 5340FCA8E1 for ; Mon, 6 Dec 2010 15:37:55 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB6EbrmK029430 for ; Mon, 6 Dec 2010 15:37:54 +0100 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Mon, 6 Dec 2010 15:37:51 +0100 In-Reply-To: User-Agent: Opera Mail/10.63 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDDOBR72 - 01822eb0c712 - 20101206 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:64293 Archived-At: Hello - On Sun, 05 Dec 2010 22:48:47 +0100, Florian Wobbe wr= ote: > On Dec 5, 2010, at 20:27 , Proch=E1zka Luk=E1=B9 wrote: > >>> \definetypeface [\typescriptone] [mm] [math] [cambria] [default] > > just a placeholder, which comes in handy when you want to define multiple= entries at once: OK, I understand. > > \starttypescript [palatino,pagella] > \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] > \stoptypescript > > is equivalent to: > > \starttypescript [palatino] > \definetypeface [palatino] [rm] [serif] [palatino] [default] > \stoptypescript > \starttypescript [pagella] > \definetypeface [pagella] [rm] [serif] [pagella] [default] > \stoptypescript Nice, I see. > see texmf-context/tex/context/base/type-otf.mkiv for lots of examples (BT= W: this is the place, where cambria is defined). > >> [mm] % OK, [re]define the 'mm' member of the font definitio= n bundle (=3D typeface) >> [math] % Why this when I just specified math to be [re]define= d by 'mm' one line above? > > takes the fontsynonym from \starttypescript [math] [cambria] and not from= \starttypescript [cambria]. OK. > again have a look at http://wiki.contextgarden.net/TypeScripts and texmf-= context/tex/context/base/type-otf.mkiv. the examples are probably better th= an an explanation. > > Florian To be honest, this is Greek to me (and I don't mean Greek letters ;-) ). I = can understand or estimate sometimes what a piece of code should do, but no= t altogether. E.g. \starttypescript uses various number of args - I can see "\starttypescript [fallback]" as well as "\starttypescript [serif] [modern,latin-modern,computer-modern,default]" a= nd "\starttypescript [serif] [modern,latin-modern,computer-modern,default] [n= ame]", sometimes coupled with "default" (keyword?) or "name" (placeholder?). - So this all doesn't bring much light to my effort. -- 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). I just need to redefine font(s) to be used for math and boldmath and which = would allow to use Greek normal and bold chars. (I hope I understand well t= hat "boldmath" is a bit special problem that requires "nonstandard" approac= h). It's no problem to use any switch inside the math mode which would typeset = bold letters (including Greek ones) - it may be \bf, \bfm, \msym, \mathsym,= \sy ... - whatever. It's also necessary NOT to type bold chars as special unicode symbols. 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. So that's why I'm thinking about AMS font(s), which should be contain norma= l and bold letters, including Greek ones, symbols... So the question is - how to get AMS fonts work in the Ctx document - or may= be: how to replace the default math font by that of AMS. What code - \typescript, \define???font??? - to use? Just to make the code "$Abc \alpha =3D {\aSwitchToBoldMath Abc \alpha} =3D = or \aCommandToTypeBoldMath{Abc \alpha}$ work. NB: I'm still beginner with Ctx. I used to typeset [bold]math in LaTeX and = some things are done another way there -- Thank again for your patience. Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________