From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59168 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: unicode subscripts Date: Sun, 30 May 2010 15:35:12 +0200 Message-ID: <4C026990.7080203@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080706070409030003020606" X-Trace: dough.gmane.org 1275226550 21547 80.91.229.12 (30 May 2010 13:35:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 May 2010 13:35:50 +0000 (UTC) Cc: "Yury G. Kudryashov" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 30 15:35:47 2010 connect(): No such file or directory 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 1OIig6-0001qw-RF for gctc-ntg-context-518@m.gmane.org; Sun, 30 May 2010 15:35:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50E6DC9C97; Sun, 30 May 2010 15:35:46 +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 GGfqnIBe4AXC; Sun, 30 May 2010 15:35:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAB43C9C8F; Sun, 30 May 2010 15:35:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA12CC9C8F for ; Sun, 30 May 2010 15:35:40 +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 6poKWkkACVc7 for ; Sun, 30 May 2010 15:35:38 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (sc-162.r-213-125-29.schoolconnect.nu [213.125.29.162]) by balder.ntg.nl (Postfix) with ESMTP id 24368C9C82 for ; Sun, 30 May 2010 15:35:38 +0200 (CEST) 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 controller-9 (SurgeMail 4.3e) with ESMTP id 1477-1713362 for multiple; Sun, 30 May 2010 15:35:14 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 In-Reply-To: X-Authenticated-User: hagen@controller-9 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:59168 Archived-At: This is a multi-part message in MIME format. --------------080706070409030003020606 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 29-5-2010 6:58, Yury G. Kudryashov wrote: > Hi! > > Unicode subscripts do not work (at least, in math): > > \starttext > $a=E2=82=80=E2=82=81=E2=82=82=E2=82=83=E2=82=84=E2=82=85=E2=82=86=E2=82= =87=E2=82=88=E2=82=89=E2=82=8B=E2=82=8C=E2=82=8A$ > \stoptext > > prints only "a". The file char-def.lua contains block like this: > [0x2080]=3D{ > category=3D"no", > description=3D"SUBSCRIPT ZERO", > direction=3D"en", > linebreak=3D"al", > specials=3D{ "sub", 0x0030 }, > unicodeslot=3D0x2080, > }, > > Which file should handle this "specials=3D{ "sub", 0x0030 }"? > > P.S.: Superscript digits work. Probably, the font contains =C2=B9 but n= ot =E2=82=81. in which case ... do you expect that glyph? or maybe one special for=20 math? and does its size match the other superscripts that are not in the=20 font? these super/sub things are historic ballast and not that useful anyhow, attached a way to deal with it in your document, but you have to=20 load it explicitly with \usemodule[mathcrap] as soon as math-stream interpretation (as for instance in msword) is=20 introduced in mkiv i might consider some collapsing mechanism 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 ----------------------------------------------------------------- --------------080706070409030003020606 Content-Type: text/plain; name="m-mathcrap.mkiv" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="m-mathcrap.mkiv" JUQgXG1vZHVsZQ0KJUQgICBbICAgICAgIGZpbGU9bS1tYXRoY3JhcCwNCiVEICAgICAgICB2 ZXJzaW9uPTIwMTAuMDUuMzAsDQolRCAgICAgICAgICB0aXRsZT1cQ09OVEVYVFwgTW9kdWxl cywNCiVEICAgICAgIHN1YnRpdGxlPU1hdGggQ3JhcCwNCiVEICAgICAgICAgYXV0aG9yPUhh bnMgSGFnZW4sDQolRCAgICAgICAgICAgZGF0ZT1cY3VycmVudGRhdGUsDQolRCAgICAgIGNv cHlyaWdodD1QUkFHTUEgQURFXQ0KJUMNCiVDIFRoaXMgbW9kdWxlIGlzIHBhcnQgb2YgdGhl IFxDT05URVhUXCBtYWNyb3x8cGFja2FnZSBhbmQgaXMNCiVDIHRoZXJlZm9yZSBjb3B5cmln aHRlZCBieSBcUFJBR01BLiBTZWUgbXJlYWRtZS5wZGYgZm9yDQolQyBkZXRhaWxzLg0KDQol RCBUaGlzIGlzIG1lYW50IGZvciB0aG9zZSB3aG8gd2FudCB0byB1c2UgdGhlIChpbmNvbXBs ZXRlIGFuZCBzb3J0IG9mIHVzZWxlc3MpDQolRCB1bmljb2RlIHN1cGVyc2NyaXB0cyBhbmQg c3Vic2NyaXB0cy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hdGh1bmljb2Rlc3ViY3JhcCAg ID99ICUgU0NIV0FBDQoNClxwcm90ZWN0IFxlbmRpbnB1dA0K --------------080706070409030003020606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --------------080706070409030003020606--