[NTG-context] strange \v!on
Hans van der Meer
hansm at science.uva.nl
Wed Jan 25 22:20:59 CET 2006
On Jan 25, 2006, at 22:02, Taco Hoekwater wrote:
> Hans van der Meer wrote:
>> Well, obviously I interpreted the use of \V!-macros wrong.
>> I understood it being the ConTeXt way of making command strings
>> language independent, as in for example.
> Ah, now it is clear to me (I was not paying attention close enough).
> Your understanding is fine, you just missed a small caveat. You have
> to put stuff that uses @, ! or ? in macro names within a block
> surrounded by \unprotect ... \protect (like the \makeat.. macros in
> LaTeX). Within such a block, the @, ! and ? act as letters for use
> inside macro names.
Well, it's a pity, but I just did that.
I surround my macro pack with \unprotect ... \protect
Because I came through LaTeX, @ was heavily used.
OK, at the moment of composing this answer I realized that making !
active will be the culprit (I am using it as separator between items).
Sorry bothering you with something I should have found out by myself.
But thanks for putting me on the right track!
dr. H. van der Meer
More information about the ntg-context