[NTG-context] beta (processaction & "|")
Peter Rolf
indiego at gmx.net
Wed Oct 11 12:55:47 CEST 2006
Hans Hagen wrote:
> Peter Rolf wrote:
>> Hans Hagen wrote:
>>
>>> Peter Rolf wrote:
>>>
>>>> \processaction[\FOO][
>>>> |=>,
>>>> unknown=>]
>>>>
>>>>
>>> hm, | and ~ are always special, put \string in fron tof it, or use \letterbar and \lettertilde
>>>
>>>
>> hm, same error if I use \string| or \letterbar
>>
> do you have a minimal tes file?
>
> a solution may be
>
> \let\savedbarcommand=|
>
> \unexpanded\def|{\savedbarcommand}
>
Yes, this works.
I've tried to create a minimal example, but in the end all points to the
fact, that "|" is a special character. So even the use of "|" as
argument of some macro like
\FOO[data={||abcx}]{..}
is not recommended (without prior catcode change). I use the symbols as
an abbreviation for different MP graphics, and it wouldn't make sense to
write \letterbar every time. Looks like I have to choose a different symbol.
Greetings, Peter
>
>
> -----------------------------------------------------------------
> 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
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
More information about the ntg-context
mailing list