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: Fri, 13 Sep 2002 02:12:50 +0200	[thread overview]
Message-ID: <20020913021250.591cdf54.morawski@gmx.net> (raw)
In-Reply-To: <3D80F8B7.9050106@WbMT.TUDelft.NL>

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

> Jens-Uwe Morawski wrote:
> > 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)
> 
> 
> This is true, however, I want to have a self-contained postscript file, 
> or rather, a postscript file I can include in a *LaTeX* document.  (I 
> know this is the ConTeXt-list but I expected to find a lot of MetaPost 
> experts on this list. :-))

If you embed the MP-output test.0 in your LaTeX document using
\includegraphics of the graphicx package, then the output
should show the \alpha. Depending, whether you are using pdflatex
or latex, pdflatex itself or dvips include the appropriate fonts
and encodings.

Try the following LaTeX file with pdflatex. It should show the \alpha.

%---snip---(mp-include.tex)
\documentclass{article}
\usepackage[pdftex]{graphicx}

\DeclareGraphicsRule{*}{mps}{*}{}

\begin{document}
\includegraphics{test.0}
\end{document}
%---snap----

If you really need a self-contained EPS stand-alone then the
best way is to use mptopdf and convert the resulting PDF back
to EPS using GhostScript.

 Jens


  reply	other threads:[~2002-09-13  0:12 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
2002-09-12 20:27   ` Ron van Ostayen
2002-09-13  0:12     ` Jens-Uwe Morawski [this message]
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=20020913021250.591cdf54.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).