From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64214 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Math and bold font Date: Sat, 04 Dec 2010 09:55:25 +0100 Message-ID: <4CFA01FD.5070001@wxs.nl> References: <20101203153039.GA4262@smoon> 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" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291452980 15241 80.91.229.12 (4 Dec 2010 08:56:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 08:56:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 04 09:56:16 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 1POnug-00009N-V3 for gctc-ntg-context-518@m.gmane.org; Sat, 04 Dec 2010 09:56:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21CFACA8A9; Sat, 4 Dec 2010 09:56:14 +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 jle-oIqPAvKp; Sat, 4 Dec 2010 09:56:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93B0FCA89F; Sat, 4 Dec 2010 09:56:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 428B4CA89F for ; Sat, 4 Dec 2010 09:56:10 +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 piMFf0ilLwLy for ; Sat, 4 Dec 2010 09:55:58 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id C3D50CA89E for ; Sat, 4 Dec 2010 09:55:58 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB48tvxe014265 for ; Sat, 4 Dec 2010 09:55:58 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 18162-1713362 for multiple; Sat, 04 Dec 2010 09:50:52 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 ThunderBrowse/3.3.4 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DCUTWg9 - 000c5d48dccb - 20101204 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:64214 Archived-At: On 3-12-2010 5:00, Proch=E1zka Luk=E1=B9 Ing. - Pontex s. r. o. wrote: > Hello, > > thanks for the example. I can see that: > > - In another font(s) (at least in cambria in your example) bold Greek > chars are OK. > > - \bf in math mode causes chars to become "vertical", i.e. when I want > to get slanted chars, I have to call \it or \sl or \bi explicitly. OK, I > thought that the "slantedness" is kept by default when switching to bold > in math mode, but no problem to switch to slanted/italics font manually. In fact in math these are not font switches, but switches to a different = alphabet. In traditional tex that normally is afont switch so one gets = the other bold or whatever shapes for free, given that they are in that = font (so it's a side effect of the way math alphabets are implemented), = but not so in open type math. > - But I still have no idea how to "restore" Greek chars when using the > *default* bold math font (i.e. when not using > \setupbodyfont[]. Or do I have to \setup???font[???] > explicitly when I want to use Greek bold chars as well? there is no default math font in mkiv: one uses regular math or bold = math (given that there are two font(set)s available which is seldom the = case) and within them gets bold or heavy alphabets (plus a few chars) >> IMHO (I'm not expert in context) this depends on used fonts. See for >> example follwoing: >> >> \setupbodyfont[cambria] >> >> \starttext >> This is a test. >> $a=3D\alpha$ >> $\bf a=3D\alpha$ >> $\bi a=3D\alpha$ >> \stoptext >> >> >> BTW, I not sure if I use "correct" way to switch fonts in math mode (in >> LaTeX commands to switch fonts are different in text and math mode, and >> I have big LaTex background, so for me this way is unusual :). best try to convert to the unicode math approach: bold a-z is different = unicode slots than a-z and in context the \bf command does that = transformation on ascii a-z (you can also key in the official unicode = chars); the benefit is that you can cut and paste the bold characters in = pdf files i.e. you retain that property; a bold b is not a bold one in = typographic sense but a special symbol that happens to use a bold = rendering; in for instance a section title, one can have all math bold, = and then this regular bold character will become real bold Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________