From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51966 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: support for "SUBSCRIPT THREE" etc. ? Date: Wed, 22 Jul 2009 01:47:42 -0400 (EDT) Message-ID: References: <20090721102734.GA15542@khaled-laptop> <6faad9f00907210350o2961332eq2d62502d1431caae@mail.gmail.com> <4A662ECC.6080307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1663202275-1248241664=:22956" X-Trace: ger.gmane.org 1248241777 4900 80.91.229.12 (22 Jul 2009 05:49:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2009 05:49:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 22 07:49:30 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MTUhk-0005CG-L3 for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jul 2009 07:49:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96CC41FB14; Wed, 22 Jul 2009 07:49:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08496-04; Wed, 22 Jul 2009 07:48:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DF431FB30; Wed, 22 Jul 2009 07:48:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B66FF1FB30 for ; Wed, 22 Jul 2009 07:48:33 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08503-02 for ; Wed, 22 Jul 2009 07:48:07 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 460521FB1F for ; Wed, 22 Jul 2009 07:48:07 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6M5m4PJ006974 for ; Wed, 22 Jul 2009 07:48:05 +0200 Original-Received: FROM [192.168.2.8] (c-71-192-164-42.hsd1.ct.comcast.net [71.192.164.42]) By hackers.mr.itd.umich.edu ID 4A66A813.1CB1A.20717 ; Authuser adityam; 22 Jul 2009 01:48:03 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 264231728 - d0deddf17982 - 20090722 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51966 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1663202275-1248241664=:22956 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 22 Jul 2009, Michail Vidiassov wrote: > Dear Hans and All, > > On Tue, 21 Jul 2009, Hans Hagen wrote: > >>>>> Superscript works well, but not the subscript: >>>>>=20 >>>>> \starttext >>>>> x=C2=B3 x=E2=82=83 >>>>> \stoptext >>>> Unicode sub/superscripts aren't real sub/superscripts, and there use i= s >>>> discouraged. Most fonts will align those subscript glyphs to the base >>>> line not bellow it, and apparently LM fonts don't have them. >>>=20 >>> In MKIV one could theoretically fix the (virtual) font with subscript >>> three containing "\sub{3}" *** or "lowered superscript 3" :) >>>=20 >> it's also font dependent and we would en dup with fallback mess etc etc >>=20 >> if the font has the glyph, you can use the unicode char, bu tit is unlik= ely=20 >> that there will be a mapping mechanism > > What about an analog of "ucs" LaTeX package, > when Unicode math subscripts (and other symbols) in TeX file are replaced > by "\sub{3}" etc., regardless of the font used for typesetting? Most of the support is already there (except superscripts and subscripts).= =20 MKII implemented this support using active characters (similar to what ucs= =20 does). MKIV does this using virtual fonts. > It will give WYSIWYG-like appearance of the input file on the screen > in the editor using Unicode font and will not bring the mess deep into=20 > ConTeXt? > > Is such thing doable? > (Not making a set of mappings for presonal use, but proper package > for public consumption?) For most glyphs the support is already there. Making sure that multiple gly= phs are combined correctly is tricier. We can have an input like $=C5=B5=C2=B9$= and it is not always easy to determine if it should be translated to ${\hat w}^1$ or $\ha= t {w^1}$. Microsoft implmented something like this in newer versions of Word. See the developer's blog for more detials. http://blogs.msdn.com/murrays/archive/2009/05/07/entering-math-via-the-line= ar-format.aspx Aditya --8323328-1663202275-1248241664=:22956 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-1663202275-1248241664=:22956--