From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25183 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: mode dependend character handling Date: Sun, 15 Jan 2006 00:02:24 +0100 Message-ID: <6faad9f00601141502s2429540o961af2e4333b836c@mail.gmail.com> References: <2E198285-5441-4BCA-82A3-4D231FC8452B@fiee.net> <43BE8105.1020105@elvenkind.com> <6faad9f00601141135h7ef14048g57c526b049d2a539@mail.gmail.com> <029AFA2B-226C-42C7-881A-654995563BA1@fiee.net> <43C97EBF.5050603@elvenkind.com> 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 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137279761 28928 80.91.229.2 (14 Jan 2006 23:02:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2006 23:02:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 00:02:39 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 1ExuPp-00019S-Dx for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 00:02:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BF6E12839; Sun, 15 Jan 2006 00:02: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 19447-01; Sun, 15 Jan 2006 00:02:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C678B127F0; Sun, 15 Jan 2006 00:02:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E85F3127F0 for ; Sun, 15 Jan 2006 00:02:26 +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 19377-03 for ; Sun, 15 Jan 2006 00:02:26 +0100 (CET) Original-Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.193]) by ronja.ntg.nl (Postfix) with SMTP id EADF7127C3 for ; Sun, 15 Jan 2006 00:02:25 +0100 (CET) Original-Received: by uproxy.gmail.com with SMTP id m2so269397uge for ; Sat, 14 Jan 2006 15:02:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZrJJcf13ESOqHiJ5uO3Ys0j16qmCWGowaCQM4olOe3KElHfqulbc+n3BTxZ1Rnd9YNGcwn1Ku/IUbGb7rXTmZD672izqknN63ib37tecTRbLghObp3hXsdzHjqo1ryaOJnINqL7q7uAasbb/fl+DmHCi59IjASgPEaj7YAhFxzA= Original-Received: by 10.48.247.7 with SMTP id u7mr156008nfh; Sat, 14 Jan 2006 15:02:24 -0800 (PST) Original-Received: by 10.48.223.20 with HTTP; Sat, 14 Jan 2006 15:02:24 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: <43C97EBF.5050603@elvenkind.com> Content-Disposition: inline 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:25183 Archived-At: Taco Hoekwater wrote: > 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. OK, thanks Taco. Now I understand the problem. I always compiled with or wi= thout texexec --mode=3Dswiss which worked fine. If mixing modes within the same document is required (\enablemode/\disablemode[swiss]), it fails of course (I didn't think about it). Mojca