From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4633 Path: main.gmane.org!not-for-mail From: Johannes Huesing Newsgroups: gmane.comp.tex.context Subject: labelling in embedded MP Date: Tue, 8 May 2001 09:33:59 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010508093359.A1128@ruhrau.de> Reply-To: hannes@ruhrau.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035395282 27323 80.91.224.250 (23 Oct 2002 17:48:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:48:02 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:4633 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4633 Hi, the \languagespecifics of German seem to interfere with the embedded Metapost code. The " in the code below is understood if \mainlanguage[de] is not activated. How does one get around that? Groetjes Johannes %%% ---8-<--------- %%% \runMPgraphicstrue \mainlanguage[de] \setupoutput[pdftex] \starttext \startuseMPgraphic{nikolaus} path haus; numeric u; u:=40pt; haus := (0u,0u)--(0u,2u)--(1u,3.5u)--(2u,2u) --(2u,0u)--(0u,2u)--(2u,2u)--(0u,0u)--(2u,0u); draw haus; label.lft("Das", point 0.5 of haus); label.lft("ist", point 1.5 of haus); label.rt("das", point 2.5 of haus); label.lft("Haus", point 3.5 of haus); label.top("vom", point 4.3 of haus); label.top("Ni", point 5.5 of haus); label.bot("ko", point 6.3 of haus); label.top("laus", point 7.5 of haus); \stopuseMPgraphic \placefigure[right]{none}{\useMPgraphic{nikolaus}} \stoptext --3MwIy2ne0vdjdPXF-- ----- End forwarded message ----- -- Johannes Hüsing | Domain: Adresse im Internet. Besteht aus einem hannes@ruhrau.de| technischen Teil (http://www.), einem Namen | (erwin_meier) und einer Endung (zum Beispiel | .de für Deutschland) [J. Albrecht, "Zeit" 12/2001]