![](https://secure.gravatar.com/avatar/e7cfe7313dd1853de9f7be0ef5a2b9f3.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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