From: Hans Hagen Outside <pragma@wxs.nl>
Subject: Re: bug with active :!;?
Date: Mon, 29 Aug 2005 18:50:51 +0800 [thread overview]
Message-ID: <4312E88B.1050805@wxs.nl> (raw)
In-Reply-To: <20050826100117.GA27668@blackowl.org>
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
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-08-29 10:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 10:01 Olivier
2005-08-29 10:50 ` Hans Hagen Outside [this message]
2005-08-29 13:20 ` BILLET Olivier
2005-08-29 13:40 ` Hans Hagen
2005-08-31 7:38 ` Hans Hagen
2005-08-31 8:19 ` Taco Hoekwater
2005-08-31 8:55 ` Setting header texts Jilani Khaldi
2005-08-31 9:05 ` Setting header texts (second) Jilani Khaldi
2005-08-31 9:19 ` Hans Hagen
2005-08-31 11:23 ` Jilani Khaldi
2005-08-31 15:58 ` Mojca Miklavec
2005-08-31 21:25 ` Setting a line on the header Jilani Khaldi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4312E88B.1050805@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).