From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25211 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: mode dependend character handling Date: Sun, 15 Jan 2006 19:16:30 +0100 Message-ID: <43CA917E.305@wxs.nl> References: <2E198285-5441-4BCA-82A3-4D231FC8452B@fiee.net> <43BE8105.1020105@elvenkind.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 1137349005 8810 80.91.229.2 (15 Jan 2006 18:16:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 18:16:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 19:16:42 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 1EyCQb-0004PZ-86 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 19:16:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7CEEA1287A; Sun, 15 Jan 2006 19:16:32 +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 08773-02-5; Sun, 15 Jan 2006 19:16:29 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CDF312866; Sun, 15 Jan 2006 19:16:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5626312866 for ; Sun, 15 Jan 2006 19:16:27 +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 08773-02-4 for ; Sun, 15 Jan 2006 19:16:26 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 6DD9912862 for ; Sun, 15 Jan 2006 19:16:26 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 715 for ; Sun, 15 Jan 2006 13:27:14 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25211 Archived-At: Henning Hraban Ramm wrote: > Sorry for answering that late. > >> The correct way would be to define swiss as a language, because >> then you can put a suitable redefinition inside the language >> specifics, but the following hack will work as well and is a lot >> faster to implement (please don't tell anyone I proposed this): >> >> \enableregime[il1] >> \let\normalssharp\ssharp >> \def\ssharp{\doifmodeelse{swiss}{ss}{\normalssharp}} > > > Thank you, that works and is just the right solution for my problem. > > Mojca's proposal: > >> \startmode[swiss] >> \definecharacter ssharp {ss} >> \stopmode > > > unfortunately doesn't work, at least not with utf regime and ec > encoding. \startmode[*de] ... languages have system modes (star prefix in order to prevent clashes with user modes) Hans