From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52785 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Upright math Date: Tue, 08 Sep 2009 22:18:36 +0200 Message-ID: <4AA6BC1C.7000105@wxs.nl> References: <20090907212341.GA13420@khaled-laptop> <20090907221443.GA16371@khaled-laptop> <4AA615D0.6000807@wxs.nl> <20090908170111.GA30034@khaled-laptop> 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 1252441153 8364 80.91.229.12 (8 Sep 2009 20:19:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 20:19:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 08 22:19:06 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 1Ml79c-0008IV-Nk for gctc-ntg-context-518@m.gmane.org; Tue, 08 Sep 2009 22:19:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC1CAC9A90; Tue, 8 Sep 2009 22:19:02 +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 yOVrL07HzcU4; Tue, 8 Sep 2009 22:19:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7672EC9A7C; Tue, 8 Sep 2009 22:19:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 258F9C9A81 for ; Tue, 8 Sep 2009 22:18:58 +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 t+5ycvb98qP2 for ; Tue, 8 Sep 2009 22:18:44 +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 57036C9A63 for ; Tue, 8 Sep 2009 22:18:41 +0200 (CEST) Original-Received: from [10.100.1.107] (unverified [10.100.1.107]) by controller-1 (SurgeMail 3.9e) with ESMTP id 6212-1840426 for ; Tue, 08 Sep 2009 22:18:38 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090908170111.GA30034@khaled-laptop> X-Originating-IP: 10.100.1.107 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:52785 Archived-At: Khaled Hosny wrote: > On Tue, Sep 08, 2009 at 10:29:04AM +0200, Hans Hagen wrote: >> Aditya Mahajan wrote: >> >>> The names \alpha \beta etc are currently hardcoded in char-def. The >>> only way to change them is to move mathname="alpha" from 0x1D6FC to >>> 0x03B1. Or use \greekalpha, \greekbeta etc (essentially taking the text >>> glyphs). >>> >>> Hans, we need to think of mechanism to switch between upright and >>> italic greek letters for the macros. >> ok. actually, it's not that hard to do, and i'd also provide an 0x1D6FC >> -> 0x03B1 and vise versa transformation then (on unicode chars) ... so, >> you can start thinking about proper names for the commands (\ugreek, >> \igreek or so); are there more such up/it things? > > I was thinking in a global way to switch upright math on/off, my use > case is that on day when we have Euler OpenType, users can use the font > and switch math to upright symbols globally without altering existing > math formulas. an upcoming beta will provide such a feature \usetypescript[cambria]\setupbodyfont[cambria] \startTEXpage $\alpha \mathgreekupright \alpha \mathgreekitalic \alpha$ \stopTEXpage and also: \setupmathematics[greek=normal|italic|none] but first aditya and i need to agree on the names and complete the related greek vector ----------------------------------------------------------------- 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 ___________________________________________________________________________________