From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24975 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: mode dependend character handling Date: Mon, 2 Jan 2006 14:36:35 +0100 Message-ID: <2E198285-5441-4BCA-82A3-4D231FC8452B@fiee.net> 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 1136554856 14713 80.91.229.2 (6 Jan 2006 13:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2006 13:40:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 06 14:40:50 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 1Eurpp-0004Qc-W7 for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jan 2006 14:40:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84507127D2; Fri, 6 Jan 2006 14:40:49 +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 02692-04-6; Fri, 6 Jan 2006 14:40:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74546127C5; Fri, 6 Jan 2006 14:40:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE01B127C5 for ; Fri, 6 Jan 2006 14:40:45 +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 02692-04-5 for ; Fri, 6 Jan 2006 14:40:44 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by ronja.ntg.nl (Postfix) with SMTP id DCB85127C2 for ; Fri, 6 Jan 2006 14:40:40 +0100 (CET) Original-Received: from [83.78.18.170] (helo=[10.128.9.3]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1Eurpf403b-0005oC; Fri, 06 Jan 2006 14:40:40 +0100 Resent-Message-Id: Resent-Date: Fri, 6 Jan 2006 14:40:18 +0100 Resent-To: ConTeXt ML Resent-From: Henning Hraban Ramm Original-To: ConTeXt ML 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:24975 Archived-At: (This mail was rejected as spam in my first try, and the reject =20 message was catched by my spam filter...) A happy new year! I'd like to typeset a text in both German and Swiss German orthography, i.e. I'd like to expand "s (or the like) to =DF in German and ss in =20 Swiss German mode, or even better, automagically change =DF to ss in Swiss mode. This is what I have: \startmode[swiss] \def\S#1{ss\relax} \stopmode \startnotmode[swiss] \def\S#1{\sz\relax} \stopnotmode That forces me to use \S{} in the middle of words, very ugly. I know this is possible in a more sophisticated way! Please? (My favorite solution would be to make =DF expand to ss in Swiss mode.) Gr=FC=DFlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)