From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9979 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: DocBookInContext & multi-languages (newbie) / utf Date: Mon, 2 Dec 2002 21:16:53 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20021202201653.GA1924@scaprea> References: <5.1.0.14.1.20021202132549.00af0328@server-1> <20021129072039.GA7792@mail.inet.hr> <20021129072039.GA7792@mail.inet.hr> <5.1.0.14.1.20021202132549.00af0328@server-1> <5.1.0.14.1.20021202153537.03d21258@server-1> <20021202174029.GA24554@mail.inet.hr> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038860371 21542 80.91.224.249 (2 Dec 2002 20:19:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2002 20:19:31 +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 18Ix2Q-0005bI-00 for ; Mon, 02 Dec 2002 21:19:30 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AB4EA10AE8; Mon, 2 Dec 2002 21:21:47 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id 0E2E210AE6 for ; Mon, 2 Dec 2002 21:20:31 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.5/8.12.2) with ESMTP id gB2KKRIF046244 for ; Mon, 2 Dec 2002 21:20:27 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.5/8.12.2/Submit) with UUCP id gB2KKR3t046243 for ntg-context@ntg.nl; Mon, 2 Dec 2002 21:20:27 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18Iwzt-0000ca-00; Mon, 02 Dec 2002 21:16:53 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <20021202174029.GA24554@mail.inet.hr> User-Agent: Mutt/1.3.28i 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:9979 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9979 Hmm, I just wrote my email before fetching the emails that had been exchanged over the weekend. Not a good idea. On Mon, Dec 02, 2002 at 06:40:30PM +0100, Gour wrote: > Hans Hagen (pragma@wxs.nl) wrote: > > > >a) c4 81 -> amacron > > >b) 0101 -> amacron > > > > so, c4 is the trigger, and 81 the character; this means that the function > > attached to c4 has to map the 81 onto \amacron > > I'm not sure whether c4 is the trigger for the 81 character. > > c4 81 is two-byte representation in memory (that's what you'll see in some > hexadecimal editor) of Unicode amacron character with the code U+0101, or > simply said: utf-8 code for amacron :-) > > > can you make me a file with a list like: > > > > amacron : 01/01 : c4/c8 : > > ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ > > normal ascii real utf > > So, the line for amacron should look like: > > amacron : 01/01 c4/c8 > > since c4/c8 is utfcode for amacron. > > Is this OK? I do not think the mapping files should touch utf-8. The input mechanism should map utf-8 to unicode, and then the mapping should map unicode to a macro. In that way the same mapping can be used by other encodings, provided they have an input mapping to unicode. Simon -- Simon Pepping email: spepping@scaprea.hobby.nl