From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8051 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re[2]: Broken catcodes Date: Mon, 27 May 2002 18:44:05 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020527183828.02d4a338@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398487 24419 80.91.224.250 (23 Oct 2002 18:41:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:41:27 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Daniel Flipo In-Reply-To: <200205271544.RAA15353@lps.univ-lille1.fr> Xref: main.gmane.org gmane.comp.tex.context:8051 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8051 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------