From: Sylvain Hubert <champignoom@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: embed metapost figure into document
Date: Mon, 9 Nov 2020 22:57:01 +0100 [thread overview]
Message-ID: <CACNy3NDmdfsrCLzhSUya_KdqGt+JrO+pAfD9sXTG2OYTfM+2tQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]
Dear List,
I'm trying to embed a metapost image into the document. According the MetaFun
manual <http://www.pragma-ade.com/general/manuals/metafun-p.pdf>,
"embedding such a graphic is done by:
\externalfigure[graphic.123][width=4cm]", but the following example
produces an empty page:
% test.mkxl
\starttext
\externalfigure[test.123][width=4cm]
\stoptext
% test.123
draw fullcircle scaled cm withcolor black;
Does anyone know how to properly embed a metapost image into a context
document?
Thanks!
Best,
Sylvain
[-- Attachment #1.2: Type: text/html, Size: 801 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2020-11-09 21:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 21:57 Sylvain Hubert [this message]
2020-11-09 22:40 ` Jairo A. del Rio
2020-11-10 0:23 ` Sylvain Hubert
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=CACNy3NDmdfsrCLzhSUya_KdqGt+JrO+pAfD9sXTG2OYTfM+2tQ@mail.gmail.com \
--to=champignoom@gmail.com \
--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).