From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10090 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: utf 8 / test file Date: Tue, 10 Dec 2002 10:54:13 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021210105339.02a710e0@server-1> References: <5.1.0.14.1.20021207123223.0254e040@server-1> <5.1.0.14.1.20021207123223.0254e040@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1039514755 6910 80.91.224.249 (10 Dec 2002 10:05:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 10:05:55 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LhH0-0001nI-00 for ; Tue, 10 Dec 2002 11:05:54 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 96E7B10AEF; Tue, 10 Dec 2002 11:06:04 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id A925510AE7 for ; Tue, 10 Dec 2002 11:03:41 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gBAAtYYq027006 for ; Tue, 10 Dec 2002 11:55:35 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gBAA3Zgs020048 for ; Tue, 10 Dec 2002 11:03:36 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <20021209204412.GD1164@scaprea> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10090 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10090 At 09:44 PM 12/9/2002 +0100, you wrote: >On Sat, Dec 07, 2002 at 12:38:46PM +0100, Hans Hagen wrote: > > Hi, > > > > I posted > > > > http://www.pragma-ade.com/temp/titus.pdf > >U+0E5B = \char14:91 >\startunicodevector 34 > >Can these numbers also be given in hexadecimal, e.g., \char "E:"5B? >Unicode data sheets and font layout tables are usually given in >hexadecimal. I find myself converting from hex to decimal and back; it >would be easier to remain in hex. in unic-ini (at the end) change: \chardef\utfunicommandmode=0 % 1 = hex \def\unicodecommandchar#1#2% {\string\char \ifcase\utfunicommandmode #1:#2\else\lchexnumbers#1:\lchexnumbers#2% \fi} \def\utfunifontcommand#1% {\xdef\unidiv{\number\utfdiv{#1}}% \xdef\unimod{\number\utfmod{#1}}% \ifnum#1<\utf@i \unicodecommandchar\unidiv\unimod \else\ifcsname\@@univector\unidiv\endcsname \@EA\string\csname\doutfunihash{\unidiv}{#1}\endcsname \else \unicodecommandchar\unidiv\unimod \fi\fi} ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------