ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marc van Dongen <dongen@cs.ucc.ie>
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: Include PS in Metapost
Date: Mon, 7 May 2001 07:04:32 +0100	[thread overview]
Message-ID: <20010507070431.S21612@cs.ucc.ie> (raw)
In-Reply-To: <200105070535.f475Z7Y09890@merkur.econ.muni.cz>; from quasar@econ.muni.cz on Mon, May 07, 2001 at 07:35:07AM +0200

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

AlterEgo Qasars (quasar@econ.muni.cz) wrote:

: Good morning.

Howsagoin,

: Is it possible to include a postscript figure into a
: MetaPost source? If it isn't possible generally, is it
: possible to include the output of other MetaPost file?

[snip]

You can indeed. See below.

Regards,

Marc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

verbatimtex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
etex;

defaultfont := "cmr12";
defaultscale := 12pt /fontsize defaultfont;
input mp-tool;
prologues := 2;

beginfig( 0 );
  draw btex \includegraphics{fib.eps} etex;
endfig;

end.

[-- Attachment #2: fib.eps --]
[-- Type: application/postscript, Size: 1774 bytes --]

[-- Attachment #3: eps.mp --]
[-- Type: text/plain, Size: 255 bytes --]

verbatimtex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
etex;

defaultfont := "cmr12";
defaultscale := 12pt /fontsize defaultfont;
input mp-tool;
prologues := 2;

beginfig( 0 );
  draw btex \includegraphics{fib.eps} etex;
endfig;

end.

  reply	other threads:[~2001-05-07  6:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-07  5:35 AlterEgo Qasars
2001-05-07  6:04 ` Marc van Dongen [this message]
2001-05-07  8:34   ` Hans Hagen
2001-05-07  8:52     ` Marc van Dongen
2001-05-07  8:36 ` Hans Hagen

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=20010507070431.S21612@cs.ucc.ie \
    --to=dongen@cs.ucc.ie \
    --cc=ntg-context@ntg.nl \
    /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).