From: Willi Egger <w.egger@boede.nl>
Subject: Re: MetaPost with etex/btex
Date: Sun, 14 Dec 2003 13:01:34 +0100 [thread overview]
Message-ID: <3FDC511E.8090706@boede.nl> (raw)
In-Reply-To: <20031214080317.GA13908@callisto.jupiter.qc.ca>
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
Hi David,
The use of the different possibilities of including metapost graphics in
ConTeXt are described in the METAFUN-manual on pages 9, 81-82, 115
For your refernce I attach a small demo file using your code ...
Kind regards Willi
David Munger wrote:
> Hello,
>
> The following code results in no label output:
>
> \starttext
> \startMPcode
> label.top(btex Some label etex, (1cm,1cm)) ;
> \stopMPcode
> \stoptext
>
> I'm using ConTeXt 2003.12.12.
>
>
> By the way, why don't \startMPgraphic and \stopMPgraphic do anything?
>
[-- Attachment #2: MPcode.tex --]
[-- Type: text/plain, Size: 769 bytes --]
\setupoutput[pdftex]
\starttext
\section{Including the MPcode in the placefigure mechanism}
\placefigure
[here]
[]
{the label}
{\startMPcode
label.top(btex Some label 1 etex, (1cm,1cm)) ;
\stopMPcode}
\section{startMPgraphic -- placeMPgraphic}
\startMPgraphic
label.top(btex Some label 2 etex, (1cm,1cm)) ;
\stopMPgraphic
\loadcurrentMPgraphic{width=15cm}
\placeMPgraphic
\section{startuseMPgraphic -- useMPgraphic}
\startuseMPgraphic{Label2}
label.top(btex Some label 3 etex, (1cm,1cm)) ;
\stopuseMPgraphic
\useMPgraphic{Label2}
\section{startreusableMPgrpahic -- reuseMPgraphic}
\startreusableMPgraphic{Label3}
label.top(btex Some label 4 etex, (1cm,1cm)) ;
\stopreusableMPgraphic
\reuseMPgraphic{Label3}
\stoptext
next prev parent reply other threads:[~2003-12-14 12:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-14 8:03 David Munger
2003-12-14 12:01 ` Willi Egger [this message]
2003-12-14 13:46 ` Re : " David Munger
2003-12-14 14:34 ` Patrick Gundlach
2003-12-14 15:01 ` Re : [NTG-context] " David Munger
2003-12-14 15:23 ` Patrick Gundlach
2003-12-14 15:51 ` Re : [NTG-context] " David Munger
2003-12-14 19:47 ` David Arnold
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=3FDC511E.8090706@boede.nl \
--to=w.egger@boede.nl \
--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).