From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21796 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: uppercasing accented characters, mappings and \WORD Date: Thu, 04 Aug 2005 13:02:48 +0200 Message-ID: <42F1F5D8.5060904@elvenkind.com> References: <42F1E567.9020302@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123239337 10618 80.91.229.2 (5 Aug 2005 10:55:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 10:55:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 05 12:55:34 2005 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0zqe-0002Sp-Sq for gctc-ntg-context-518@gmane.org; Fri, 05 Aug 2005 12:54:45 +0200 Original-Received: from ronja.ntg.nl (ronja.vet.uu.nl [131.211.172.88]) by mail-relay.eunet.no (8.13.1/8.13.1/GN) with ESMTP id j74B3ufY086790 for ; Thu, 4 Aug 2005 13:03:56 +0200 (CEST) (envelope-from ntg-context-bounces@ntg.nl) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4FBF8127D7; Thu, 4 Aug 2005 13:02:56 +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 16361-02; Thu, 4 Aug 2005 13:02:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABC03127AA; Thu, 4 Aug 2005 13:02:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64F6E127AA for ; Thu, 4 Aug 2005 13:02:51 +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 16293-06 for ; Thu, 4 Aug 2005 13:02:50 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 8FC121276F for ; Thu, 4 Aug 2005 13:02:50 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 117B5181F2 for ; Thu, 4 Aug 2005 13:02:50 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16785-05 for ; Thu, 4 Aug 2005 13:02:49 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 8F97E16BE4 for ; Thu, 4 Aug 2005 13:02:49 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42F1E567.9020302@gmail.com> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21796 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21796 Mojca Miklavec wrote: > Hello, > > If I use the latin2 encoding (il2), \WORD works OK if I simply type > accented characters. Under UTF-8, uppercasing \zcaron also works OK, but It fails because \zcaron expands prematurely. Perhaps this is an option: \def\definecharacter#1 #2 % {\ifundefined{#1}\unexpanded\setvalue{#1}... instead of \def\definecharacter#1 #2 % {\ifundefined{#1}\setvalue{#1}... (not sure if that would break stuff, but it seems sensible to me). Cheers, Taco