At 12:54 PM 1/22/2003 +0100, Patrick Gundlach wrote:
Emil Hedevang Lohse
writes: Hello,
I know that # is a special character in TeX, but is there a way to get abound this?
I see two posibilites (both untested):
either replace the # with \# or surround your
\startuseMPgraphic \stopuseMPgraphic
with
{\catcode`#=11 \startuseMPgraphic \stopuseMPgraphic }
I don't know if this has any side effects in the startuseMPgraphic environment or if this even works. Probably there is an official ConTeXt way to do this.
Your first method is the proper way: copied from supp-mps.tex: \appendtoks \let \# \letterhash \let \_ \letterunderscore \let \& \letterampersand \let \{ \letteropenbrace \let \} \letterclosebrace \to \everyMPgraphic so, all these can be escaped Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------