Hi Hans, Hi all, I would like to typeset chinese labels with metapost. My code is: ------------- \starttext \startMPpage verbatimtex \enableregime[utf] \usemodule[chi-00] etex; label(btex ? etex,(0,0)); \stopMPpage \stoptext ------------- It results in the errormessage: ! Argument of \dodoubletestempty has an extra }. <inserted text> \par <to be read again> } \doifnextcharelse ...token =#1\def \!!stringa {#2} \def \!!stringb {#3}\futur... <argument> ...mtex \enableregime [utf] \usemodule [chi-00] etex; label(btex ... \writecheckedMPgraphic ...icfalse \edef \ascii {#1 }\convertcommand \ascii \t... \startMPgraphic ...hic \writecheckedMPgraphic {#1} \stopwritingMPgraphic ... l.8 \stopMPpage ? Thanks for any help Lutz
Lutz Haseloff wrote:
Hi Hans, Hi all,
I would like to typeset chinese labels with metapost. My code is:
------------- \starttext \startMPpage verbatimtex \enableregime[utf] \usemodule[chi-00] etex; label(btex ? etex,(0,0)); \stopMPpage \stoptext
try: \starttext \startMPenvironment \enableregime[utf] \usemodule[chi-00] \stopMPenvironment \startMPpage label(btex ÆÇæà etex,(0,0)); \stopMPpage \stoptext instead. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Lutz Haseloff