From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25169 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: mode dependend character handling Date: Sat, 14 Jan 2006 14:50:07 +0100 Message-ID: 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 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137246841 19668 80.91.229.2 (14 Jan 2006 13:54:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2006 13:54:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 14 14:53:57 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 1Exlqv-0005B3-Gz for gctc-ntg-context-518@m.gmane.org; Sat, 14 Jan 2006 14:53:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C78E1282C; Sat, 14 Jan 2006 14:53:57 +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 15156-03; Sat, 14 Jan 2006 14:53:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 160D812788; Sat, 14 Jan 2006 14:50:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90EF512788 for ; Sat, 14 Jan 2006 14:50:10 +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 14956-04 for ; Sat, 14 Jan 2006 14:50:09 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by ronja.ntg.nl (Postfix) with SMTP id 91B081277F for ; Sat, 14 Jan 2006 14:50:09 +0100 (CET) Original-Received: from [62.203.59.40] (helo=[10.128.9.3]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1ExlnE43ct-0000b9; Sat, 14 Jan 2006 14:50:09 +0100 In-Reply-To: <43BE8105.1020105@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:71ece21a21b2fa6ef1812787a4eaee0e 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:25169 Archived-At: 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 =20 encoding. Gr=FC=DFlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)