ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jens-Uwe Morawski <morawski@gmx.net>
Subject: Re: Greek characters in metapost
Date: Thu, 12 Sep 2002 16:19:55 +0200	[thread overview]
Message-ID: <20020912161955.78137e40.morawski@gmx.net> (raw)
In-Reply-To: <3D807744.8060207@wbmt.tudelft.nl>

On Thu, 12 Sep 2002 13:15:16 +0200
Ron van Ostayen <R.A.J.vanOstayen@WbMT.TUDelft.NL> wrote:

> For my PhD thesis I'm experimenting with MetaPost figures (or actually 
> gnuplot pictures on the MP terminal).
> However, I've found that some characters, for example the greek 
> characters, do not show in the generated postscript.

The PostScript file is not self-contained, i.e. no fonts
are included. Therefore the figure has to be embedded in
a ConTeXt document (\externalfigure).

> A minimal example (test.mp):
> 
> beginfig(0);
> u = 1cm;
> draw (1u,0)..(0,1u)..(-1u,0)..(0,-1u)..cycle;
> label.top( btex $\alpha$ etex, (0,0));
> endfig;
> 
> texexec --mptex test.mp

In order to pre-view your MP file you can use mptopdf.

texexec --mptex test.mp
mptopdf test

should give test-0.pdf. Here the \alpha should be visible.

Jens


  reply	other threads:[~2002-09-12 14:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 11:15 Ron van Ostayen
2002-09-12 14:19 ` Jens-Uwe Morawski [this message]
2002-09-12 20:27   ` Ron van Ostayen
2002-09-13  0:12     ` Jens-Uwe Morawski
2002-09-13  7:32       ` Ron van Ostayen
2002-09-14  7:35         ` Henning Hraban Ramm
2002-09-14  9:15           ` Greek characters in metapost (solution) Ron van Ostayen

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=20020912161955.78137e40.morawski@gmx.net \
    --to=morawski@gmx.net \
    /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).