On 6/28/07, Patrick Gundlach wrote:
Hi,
is there any way to get utf-8 labels and without the 'strange' space glyph?
--------------------------------------------------
\startMPenvironment[+] \enableregime[utf] \stopMPenvironment
\starttext foobar baz äöß % <-- OK
\startuniqueMPgraphic{bla} label("foobar baz äöß",(3cm,3cm)); % <-- broken draw btex foobar baz äöß etex % <--- OK \stopuniqueMPgraphic
\useMPgraphic{bla}
\stoptext --------------------------------------------------
Why not this one? (Much faster, less problems, etc.) \enableregime[utf-8] \starttext \startuniqueMPgraphic{bla} label(\sometxt{foobar baz äöß},(3cm,3cm)); \stopuniqueMPgraphic \useMPgraphic{bla} \stoptext Metapost strings are something I wouldn't use anyway, although Aditya's idea is also a nice one (a dirty way would be to redefine label to use textext instead - I don't mean it too seriously of course). Mojca (http://dl.contextgarden.net/myway/sometxt.pdf)