From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31807 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: unic-xxx.tex glyph lists: minor bugs, questions Date: Thu, 9 Nov 2006 17:51:32 +0100 Message-ID: <6faad9f00611090851wc33a00bg34347cf4fc12eb69@mail.gmail.com> References: <454DF4D9.4020808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-13" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1163091129 24927 80.91.229.2 (9 Nov 2006 16:52:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2006 16:52:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 09 17:52:09 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GiD85-0001Xo-KO for gctc-ntg-context-518@m.gmane.org; Thu, 09 Nov 2006 17:51:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 198CF1FF07; Thu, 9 Nov 2006 17:51:52 +0100 (CET) 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 01436-01-3; Thu, 9 Nov 2006 17:51:43 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F9571FEFC; Thu, 9 Nov 2006 17:51:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAF8F1FEFD for ; Thu, 9 Nov 2006 17:51:39 +0100 (CET) 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 01436-01-2 for ; Thu, 9 Nov 2006 17:51:34 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by ronja.ntg.nl (Postfix) with SMTP id CBCA21FEF9 for ; Thu, 9 Nov 2006 17:51:33 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id y38so907823nfb for ; Thu, 09 Nov 2006 08:51:33 -0800 (PST) Original-Received: by 10.82.107.15 with SMTP id f15mr167585buc.1163091093036; Thu, 09 Nov 2006 08:51:33 -0800 (PST) Original-Received: by 10.82.138.15 with HTTP; Thu, 9 Nov 2006 08:51:32 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <454DF4D9.4020808@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31807 Archived-At: On 11/5/06, Hans Hagen wrote: > Philipp Reichmuth wrote: > > I've been writing a script that sifts through the unic-xxx.tex files to > > get a readable mapping what Unicode characters are supported using > > \Amacron-style names. > > > mtxtools can create such lists using the unicode consotium glyph table, > mojca's mapping list and enco/regi files > > we use mtxtools to create the tables needed for xetex (used for case > mapping) and luatex (more extensive manipulations) I have mtxtools.bat, but no mtxtools.rb here. > > Are the > > unic-xxx files automatically generated or maintained by hand? > > > maintained by hand, again, just send me the fixed file, but we need to > make sure that the fix is ok (i.e. works as expected) Although there should be no reason for not generating them automatically. I did that for regime files (I only wrote a script, executed it and Hans included the files, so it's only semi-automatic; it would be polite from me if I managed to incorporate that into existing [whateverthename]tools.rb). > > Incidentally, it would be trivial now to put the list of ConTeXt glyphs > > on the Wiki, if anyone's interested. > > > there is a file contextnames.txt in the distributions (maintained by > mojca), while the not yet distributed char-def.lua has the info for luatex If you find errors there, please let me know. (Missing letter in Cyrillic was due to missing position in Unicode). > > I wanted to use this to work towards better support for the whole range > > of ConTeXt glyphs with OpenType fonts under XeTeX, by reading what > > ConTeXt glyphs are available in a font and building a list of > > "\catcode`=E2=3D\active \def =E2 {\amacron}"-style list for the rest. > > (Unfortunately this kind of list would be font-specific, but the generic > > alternative would be a huge list of active characters with an > > \ifnum\XeTeXcharglyph"....>0 macro behind it, and that would probable be > > quite slow.) I wonder if there is a more intelligent way to achieve > > this goal; since part of the logic for mapping code points into glyph > > macros exists already, it would be easier if there was a way to reuse t= hat. > > > best take a look at mtxtools; if needed we can generate the definitions > ; concerning speed, it will not be that slow, because tex is quite fast > on such tests (unless XeTeXcharglyph is slow due to lib access); the > biggest thing is to make sure that things don't expand in unwanted ways. > > (i must find time to update my xetex bin ; i must admit that i never > tried to use open type fonts in xetex (the mac is broken) But OpenType fonts also work on Linux & Windows. > > The best way out would be if I could enable ConTeXt's UTF-8 regime while > > running XeTeX in \XeTeXinputencoding=3Dbytes mode, but I haven't gotten > > that to work yet. > > > maybe mojca has You could theoretically comment out \beginXETEX \expandafter \endinput \endXETEX in regi-utf.tex, but that's not the best idea. Mojca