ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* labelling in embedded MP
@ 2001-05-08  7:33 Johannes Huesing
  2001-05-08  8:36 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Huesing @ 2001-05-08  7:33 UTC (permalink / raw)


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]


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-08 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-08  7:33 labelling in embedded MP Johannes Huesing
2001-05-08  8:36 ` Hans Hagen
2001-05-08 16:57   ` Johannes Huesing

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).