* chinese labels
@ 2006-03-17 7:54 Lutz Haseloff
2006-03-17 8:57 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Lutz Haseloff @ 2006-03-17 7:54 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: chinese labels
2006-03-17 7:54 chinese labels Lutz Haseloff
@ 2006-03-17 8:57 ` Hans Hagen
2006-03-17 10:32 ` Lutz Haseloff
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-03-17 8:57 UTC (permalink / raw)
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
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: chinese labels
2006-03-17 8:57 ` Hans Hagen
@ 2006-03-17 10:32 ` Lutz Haseloff
0 siblings, 0 replies; 3+ messages in thread
From: Lutz Haseloff @ 2006-03-17 10:32 UTC (permalink / raw)
> try:
>
> \starttext
>
> \startMPenvironment
> \enableregime[utf]
> \usemodule[chi-00]
> \stopMPenvironment
> \startMPpage
> label(btex ÆÇæà etex,(0,0));
> \stopMPpage
>
> \stoptext
>
> instead.
>
> Hans
This works fine, thanks
Greetings Lutz
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-17 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-17 7:54 chinese labels Lutz Haseloff
2006-03-17 8:57 ` Hans Hagen
2006-03-17 10:32 ` Lutz Haseloff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).