At 11:46 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
>Saturday, May 25, 2002 Hans Hagen wrote:
>
>HH> At 08:14 PM 5/25/2002 +0200, Giuseppe Bilotta wrote:
> >>Hello,
> >>
> >>I'm testing ConTeXt 2002.05.17 and found out that even at
> >>protection-level 0 ! ? and @ have catcode 11 instead of 12. I
> >>wasn't able to see where the messing up occurred, though.
>
>HH> can you test the current version?
>
>Still bugged in 2002.05.24 --to be precise, @ has catcode 12, but
>! and ? have catcode 11.
Well, this one took me a while to uncover (btw, one can trace these things
by setting \protectionthreshold to zero)
The problem was introduced when adding support for french active : ; etc.
The reset code was generated under an unprotected regime, so the patch goes
into lang-spe.tex;
\protect % added
\deactivatelanguagespecific "
\deactivatelanguagespecific /
\deactivatelanguagespecific :
\deactivatelanguagespecific ;
\deactivatelanguagespecific ?
\deactivatelanguagespecific !
\unprotect % added
Hans
========
For Oblomov's eyes only:
I also took the opportunity to extend the protection report code a bit
\def\reportunprotection {\message{<unprotect \protectionstate>}}
\def\reportprotection {\message{<protect \protectionstate>}}
\def\protectionstate
{\the\protectionlevel
\ifcase\protectionthreshold=0\else
:\space
@=\the\catcode`@\space\space
!=\the\catcode`!\space\space
?=\the\catcode`?%
\fi}
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------