[NTG-context] # in MPinclusions
Aditya Mahajan
adityam at umich.edu
Tue Jun 13 03:02:07 CEST 2006
Hi,
How can I make MPinclusions consider # as a normal character.
\startMPinclusions
input metaobj;
vardef block@#(text name) text options=
newRBox@#(textext(name)) options;
enddef;
\stopMPinclusions
\starttext
\startMPpage
block.source("Source") ;
source.c = origin ;
drawObj(source) ;
\stopMPpage
\stoptext
gives
! Illegal parameter number in definition of \theMPinclusions.
<to be read again>
(
<argument> ...ic {input metaobj;
vardef block@##(
text name) text
options=
n...
\secondoftwoarguments #1#2->#2
l.7 \stopMPinclusions
Aditya
More information about the ntg-context
mailing list