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) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________