At 05:44 PM 5/27/2002 +0200, you wrote:
>Thanks, it works again now
>(it worked before the change without \unprotect ... \protect though).
then that was a bug (probably a forgotten \protect
>Where can I read about \protect \unprotect in ConTeXt? the mechanism
>looks very different from the \protect I know in LaTeX, I did not try
>to understand this bit of ConTeXt (and many other ;-) up to now...
ah, in context \protect does something like \makeatletter in latex (only in
context ! and ? are also used for protection purposes)
[afaik in latex there is a \protect that has to do with preventing
expansion in toc entries; context does not need this since normally toc
entries are not expand them at all; in context expansion only can be
problematic in tests, which is why some commands are defined with
\unexpanded\def, which actually in etex is equivalent to \protected \def,
which clashes with my own \protected, and (lucky me) \unexpanded is also an
etex primitive with a complete different meaning; lesson: don't confuse
\protect with latex \protect and don't mix up \unexpanded with etex's
\protected]
anyhow, not something for users to bother about
Hans
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------