From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64270 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: Math and bold font Date: Mon, 6 Dec 2010 18:11:34 +0800 Message-ID: <20101206101134.GC4262@smoon> References: <20101203153039.GA4262@smoon> <4CFA01FD.5070001@wxs.nl> 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 1291630322 27939 80.91.229.12 (6 Dec 2010 10:12:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 10:12:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 06 11:11:57 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 1PPY33-0001QP-KL for gctc-ntg-context-518@m.gmane.org; Mon, 06 Dec 2010 11:11:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED882CA8A6; Mon, 6 Dec 2010 11:11:55 +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 8xiEL4dfjIPh; Mon, 6 Dec 2010 11:11:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76C9DCA8B5; Mon, 6 Dec 2010 11:11:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD13ACA8B5 for ; Mon, 6 Dec 2010 11:11:47 +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 oIXDpiLOjFH9 for ; Mon, 6 Dec 2010 11:11:43 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id B8847CA8A6 for ; Mon, 6 Dec 2010 11:11:43 +0100 (CET) Original-Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB6ABg7d029906 for ; Mon, 6 Dec 2010 11:11:43 +0100 Original-Received: by ewy5 with SMTP id 5so7028974ewy.5 for ; Mon, 06 Dec 2010 02:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=eNWqDYuob3g7qiZx4/5wq0ItRZhPrnWcwj9pTmPEy34=; b=dxxxkpy9aw+TTQpUgto4Lfs8nEyrJ1Un32kfPWOKgVo6n5xNm5ckqD/o7P/zhUivZN mYJ6LWQQvMCm1WSAeyHexRguGCKWTrdOXUTvYzFDBORvEtbyAsupqNS3iB4hrYz6PREe 99yjuRzX27VMzc4SOd1wlxIp8XN27mKRULakM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=p5d5psjlQp1aruPColZtOjkQtTlEXo+R+htw6uO4RDI9oXUpS/A2uXLrfP2t+9kcUa W/ZLd/Hv3lTDgd97Pd9yHd2VtjeoWBz8+MgH8DLXGZzfK7twfELnYH1ONNSvm2DZhtoi AH8wpmBe1VnvKIud1solRD/fHChBfk+HVNGwk= Original-Received: by 10.213.27.136 with SMTP id i8mr5135830ebc.92.1291630301840; Mon, 06 Dec 2010 02:11:41 -0800 (PST) Original-Received: from smoon ([188.168.157.119]) by mx.google.com with ESMTPS id w20sm4553351eeh.18.2010.12.06.02.11.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Dec 2010 02:11:40 -0800 (PST) Mail-Followup-To: Vladimir Lomov , mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4CFA01FD.5070001@wxs.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.46; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04DDKbGtH - ad3641b0d9cf - 20101206 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:64270 Archived-At: ** Hans Hagen [2010-12-04 09:55:25 +0100]: [...] >>>\setupbodyfont[cambria] >>> >>>\starttext >>>This is a test. >>>$a=\alpha$ >>>$\bf a=\alpha$ >>>$\bi a=\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 But this is not universal solution. Suppose I want to use serif bold italic font for vectors and sans bold italic for tensors (this is recommendation of NIST, see sp811.pdf on nist.gov). Of course I could enter vectors and tensors as symbols from appropriate unicode slots but what if my publisher says me that vectors should be in sans bold and tensors in serif bold italic? So I define commands, like \vect and \tensor to markup what symbols are verctors and what are tensors. Therefore I consider context (as well as LaTeX) as sort of markup (mix of procedural and descriptive markups). Returning to original question: I don't check but AFAIU one can define your own typescript and choose what fonts are used in math mode (mm?). If current typescript (modern?, latin modern?) doesn't have bold greek letters for math one should define new typescript and use for mm (math) font which have bold greek letters. P.S. I could be wrong with terms. --- WBR, Vladimir Lomov -- innovate, v.: To annoy people. ___________________________________________________________________________________ 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 ___________________________________________________________________________________