Hi, I have read http://thread.gmane.org/gmane.comp.tex.context/3540, but why does the following \appendtoks \let\#\hashletter \to \everyMPgraphic \startuseMPgraphic{foo} vardef foo@\#(expr x) = enddef; \stopuseMPgraphic \startuseMPgraphic{goo} \includeMPgraphic{foo} foo.foo(1); \stopuseMPgraphic \starttext \useMPgraphic{goo} \stoptext gives the error: ! Undefined control sequence. <argument> vardef foo@\# (expr x) = enddef; \handleuseMPgraphic #1#2#3->#3 <argument> \includeMPgraphic {foo} foo.foo(1); \writecheckedMPgraphic ...icfalse \edef \ascii {#1 }\convertcommand \ascii \t... \startMPgraphic ...hic \writecheckedMPgraphic {#1} \stopwritingMPgraphic \handleuseMPgraphic ...MPgraphic #3\stopMPgraphic \ifMPrun \else \loadMPgrap... ... Nicola
On Sun, 24 Jun 2007, nicola wrote:
Hi, I have read http://thread.gmane.org/gmane.comp.tex.context/3540, but why does the following
\appendtoks \let\#\hashletter \to \everyMPgraphic
This was a typo. It should have been \letterhash. However, you do not need to explicitly do this, since supp-mps alreay does this. So, just remove this line from your core and the rest will compile correctly. Aditya
participants (2)
-
Aditya Mahajan
-
nicola