From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25182 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: mode dependend character handling Date: Sat, 14 Jan 2006 23:44:15 +0100 Message-ID: <43C97EBF.5050603@elvenkind.com> References: <2E198285-5441-4BCA-82A3-4D231FC8452B@fiee.net> <43BE8105.1020105@elvenkind.com> <6faad9f00601141135h7ef14048g57c526b049d2a539@mail.gmail.com> <029AFA2B-226C-42C7-881A-654995563BA1@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137278704 25868 80.91.229.2 (14 Jan 2006 22:45:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2006 22:45:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 14 23:45:02 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 1Exu8p-0006Sr-Dk for gctc-ntg-context-518@m.gmane.org; Sat, 14 Jan 2006 23:44:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 10CD212839; Sat, 14 Jan 2006 23:44:59 +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 19213-03; Sat, 14 Jan 2006 23:44:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4896B12830; Sat, 14 Jan 2006 23:43:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F21AF12830 for ; Sat, 14 Jan 2006 23:42:58 +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 19213-02 for ; Sat, 14 Jan 2006 23:42:58 +0100 (CET) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with SMTP id 16CB91282C for ; Sat, 14 Jan 2006 23:42:57 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:42449 helo=[192.168.1.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1Exu6r-000GTo-BO for ntg-context@ntg.nl; Sat, 14 Jan 2006 22:42:57 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <029AFA2B-226C-42C7-881A-654995563BA1@fiee.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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25182 Archived-At: Henning Hraban Ramm wrote: >> \startencoding[ec] >> \startmode[swiss] >> \definecharacter ssharp {ss} >> \stopmode >> \stopencoding >> than the order of commands doesn't matter any more (but then the >> automatic conversion will only work for the ec encoding). mode processing is based on modes that are in effect at the execution time of the \startmode macro, not the typeset time. This would work: \enablemode[swiss] \startencoding[ec] \startmode[swiss] \definecharacter ssharp {ss} \stopmode \stopencoding but then it would be on always, since it effectively becomes \startencoding[ec] \definecharacter ssharp {ss} \stopencoding whereas without the \enablemode it becomes only: \startencoding[ec] \stopencoding which does nothing. HTH, Taco