From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4626 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Metapost example and code Date: Mon, 07 May 2001 10:21:41 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010507102141.009ac210@server-1> References: <3.0.6.32.20010504172901.019dd5f0@server-1> <20010429125328.A1242@ruhrau.de> <3.0.6.32.20010504172901.019dd5f0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395276 27263 80.91.224.250 (23 Oct 2002 17:47:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:47:56 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: johannes.huesing@ruhrau.de In-Reply-To: <20010506061507.A526@ruhrau.de> Xref: main.gmane.org gmane.comp.tex.context:4626 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4626 At 06:15 AM 5/6/01 +0200, Johannes Huesing wrote: >On Fri, May 04, 2001 at 05:29:01PM +0200, Hans Hagen wrote: >> At 12:53 PM 4/29/01 +0200, Johannes Huesing wrote: > >> > \expandafter\startMP > ~~~~~~~~ >> > \input mpe.tmp >> > \stopMP > ~~~~~~~ >> > } >[...] >> >> Or simply: >> >> \startuseMPgraphic{MPExample} >> draw >> for i=0 upto 4: >> (50, 0) rotated (i*144) -- >> endfor >> cycle; >> \stopuseMPgraphic >> >> \placefigure[right]{none}{\useMPgraphic{MPExample}} > >Because I wanted to quote the example, prettyprinted, as well, >and not have to edit the metaposted and the prettyprinted version >in parallel. Right, now you're thinking 'context': \startbuffer[whow] your := fance := mpcode ; \stopbuffer \typebuffer[whow] \placefigure{}{\processMPbuffer[whow]} will be of help then Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------