From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22175 Path: news.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: bug with active :!;? Date: Mon, 29 Aug 2005 18:50:51 +0800 Message-ID: <4312E88B.1050805@wxs.nl> References: <20050826100117.GA27668@blackowl.org> 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 1125312980 10821 80.91.229.2 (29 Aug 2005 10:56:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 10:56:20 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 29 12:56:09 2005 Return-path: 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 1E9hHZ-0005nl-V9 for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2005 12:54:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85C49127B3; Mon, 29 Aug 2005 12:54:29 +0200 (CEST) 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 18077-07; Mon, 29 Aug 2005 12:54:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 614A81279F; Mon, 29 Aug 2005 12:50:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F2E851279F for ; Mon, 29 Aug 2005 12:50:43 +0200 (CEST) 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 18077-05 for ; Mon, 29 Aug 2005 12:50:43 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 613A01278A for ; Mon, 29 Aug 2005 12:50:43 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j7TAoetR031076 for ; Mon, 29 Aug 2005 12:50:40 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id F415A1A232; Mon, 29 Aug 2005 12:00:02 +0200 (CEST) Original-Received: from [10.100.1.15] (unknown [10.100.1.15]) by server-1.pragma-net.nl (Postfix) with ESMTP id EB37E19420 for ; Mon, 29 Aug 2005 10:00:01 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050826100117.GA27668@blackowl.org> X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay01 X-Virus-Status: Clean 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22175 Archived-At: Olivier wrote: >Hi, > >Seems like the following crashes conTeXt: > > > see patch below >Strangely enough, the bug doesn't seem to occur in > \placeformula[eq:A] > > references get their labels cleaned up >Many thanks for hinting a fix, > > \unprotect \def\dopreventmode[#1]% {\protect \cleanuplabel{#1}% \rawprocesscommalist[\cleanlabel]\dodopreventmode} \def\doenablemode[#1]% {\protect \cleanuplabel{#1}% \rawprocesscommalist[\cleanlabel]\dodoenablemode } \def\dodisablemode[#1]% {\protect \cleanuplabel{#1}% \rawprocesscommalist[\cleanlabel]\dododisablemode} \def\docheckformode#1#2#3% will be sped up with a quit {\cleanuplabel{#3}% \protect \checkedmodefalse \rawprocesscommacommand[\cleanlabel]\dodocheckformode \ifcheckedmode\@EA#1\else\@EA#2\fi} \def\docheckforallmodes#1#2#3% will be sped up with a quit {\cleanuplabel{#3}% \protect \checkedmodetrue \rawprocesscommacommand[\cleanlabel]\dodocheckforallmodes \ifcheckedmode\@EA#1\else\@EA#2\fi} \long\def\dodostartsetups#1#2#3% watch out: not \grabuntil {\cleanuplabel{\??su#2:#3}% \dograbuntil#1{\egroup\dodoglobal\long\setvalue\cleanlabel}} \def\dosetupsA#1% {\cleanuplabel{#1}% \processcommacommand[\cleanlabel]\dosetups} \def\dosetupsB[#1]% {\cleanuplabel{#1}% \processcommacommand[\cleanlabel]\dosetups} \def\dosetupsC[#1]% {\cleanuplabel{#1}% \dosetups\cleanlabel} \protect \useencoding [ffr] \mainlanguage[fr] \setupheadertexts[text][\setups{run:left}] \startsetups run:left nothing \stopsetups \starttext Nothing special here \stoptext \endinput With the next pdftex we will not need this active mess any more since pre-char spacing will be supported natively; by that time we need to adapt the ffr files Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------