From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35075 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.comp.tex.context Subject: Re: Howto have page size to fit with image size Date: Thu, 21 Jun 2007 07:45:31 +0200 Message-ID: <87odj9n9ms.fsf@bornier.net> References: <87sl8md1e8.fsf@bornier.net> <20070620201114.7bfdbcb9.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182404753 21173 80.91.229.12 (21 Jun 2007 05:45:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 05:45:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 21 07:45:51 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I1FUM-0001HL-MZ for gctc-ntg-context-518@m.gmane.org; Thu, 21 Jun 2007 07:45:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D3B931FEFE; Thu, 21 Jun 2007 07:45:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27310-05; Thu, 21 Jun 2007 07:45:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3FE91FEEF; Thu, 21 Jun 2007 07:45:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9570E1FEEF for ; Thu, 21 Jun 2007 07:45:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27309-06 for ; Thu, 21 Jun 2007 07:45:36 +0200 (CEST) Original-Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by ronja.ntg.nl (Postfix) with ESMTP id F2BCF1FEE7 for ; Thu, 21 Jun 2007 07:45:35 +0200 (CEST) Original-Received: from borixe.bornier.net (unknown [81.56.145.104]) by smtp3-g19.free.fr (Postfix) with ESMTP id 252CE8175 for ; Thu, 21 Jun 2007 07:45:35 +0200 (CEST) Original-Received: from boldair (borlap.bornier.net [192.168.0.1]) by borixe.bornier.net (Postfix) with ESMTP id 2AA2F63E11 for ; Thu, 21 Jun 2007 07:45:36 +0200 (CEST) In-Reply-To: <20070620201114.7bfdbcb9.schuster.wolfgang@googlemail.com> (Wolfgang Schuster's message of "Wed\, 20 Jun 2007 20\:11\:14 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35075 Archived-At: Le 20 juin =E0 20:11:14 Wolfgang Schuster =E9crit notamment: | On Wed, 20 Jun 2007 19:22:14 +0200 | Patrick Gundlach wrote: > | > Jean Magnan de Bornier writes: | > = | > > Hi all, | > > I want to produce a unique metapost image which should be alone on its | > > page and its file, and I want to have a page the size of the image, | > > whichever this size is. | > = | > use \startTEXpage: | > = | > \setupcolors[state=3Dstart] | > %\setuplayout[width=3Dfit,height=3Dfit] | > \starttext | > \startTEXpage | > \startuseMPgraphic{dummy} | > fill fullcircle scaled 5cm withcolor red ; | > \stopuseMPgraphic | > \useMPgraphic{dummy} | > \stopTEXpage | > \stoptext | > = | > Patrick > | we have also \startMPpage: > | \setupcolors[state=3Dstart] | \starttext | \startMPpage | fill fullcircle scaled 5cm withcolor red ; | \stopMPpage | \stoptext > | Wolfgang Patrick and Wolfgang, thak you much; these work fine! -- = Jean ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________