From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14292 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: MetaPost with etex/btex Date: Sun, 14 Dec 2003 13:01:34 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <3FDC511E.8090706@boede.nl> References: <20031214080317.GA13908@callisto.jupiter.qc.ca> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000701020500060609030208" X-Trace: sea.gmane.org 1071403728 32230 80.91.224.253 (14 Dec 2003 12:08:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2003 12:08:48 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Dec 14 13:08:45 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AVV3F-0001LX-00 for ; Sun, 14 Dec 2003 13:08:45 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 17B3610B03; Sun, 14 Dec 2003 13:08:41 +0100 (MET) Original-Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by ref.ntg.nl (Postfix) with ESMTP id 83D4E10ACC for ; Sun, 14 Dec 2003 13:01:36 +0100 (MET) Original-Received: from boede.nl (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBEC1aID086177 for ; Sun, 14 Dec 2003 13:01:36 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <20031214080317.GA13908@callisto.jupiter.qc.ca> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14292 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14292 This is a multi-part message in MIME format. --------------000701020500060609030208 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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? > --------------000701020500060609030208 Content-Type: text/plain; name="MPcode.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="MPcode.tex" \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 --------------000701020500060609030208--