ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Huesing <hannes@ruhrau.de>
Subject: labelling in embedded MP
Date: Tue, 8 May 2001 09:33:59 +0200	[thread overview]
Message-ID: <20010508093359.A1128@ruhrau.de> (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]


             reply	other threads:[~2001-05-08  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08  7:33 Johannes Huesing [this message]
2001-05-08  8:36 ` Hans Hagen
2001-05-08 16:57   ` Johannes Huesing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010508093359.A1128@ruhrau.de \
    --to=hannes@ruhrau.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).