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
Aditya Mahajan wrote:
Hi, How can I make MPinclusions consider # as a normal character.
try \string# (or \#) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Aditya Mahajan
-
Hans Hagen