From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71209 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: sizing MPpage Date: Mon, 19 Sep 2011 14:20:56 +0000 Message-ID: <2922A68D-5A1F-4407-BA25-E28B5EF0057B@uva.nl> References: <1EFFAD80-BA75-4125-A559-C0BF0A21B04F@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316442083 27338 80.91.229.12 (19 Sep 2011 14:21:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 14:21:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 19 16:21:15 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R5eie-0000b8-5l for gctc-ntg-context-518@m.gmane.org; Mon, 19 Sep 2011 16:21:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF717CAFAE; Mon, 19 Sep 2011 16:21:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FZjn-+nvYnUc; Mon, 19 Sep 2011 16:21:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77B23CAFA6; Mon, 19 Sep 2011 16:21:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 204B1CAFA6 for ; Mon, 19 Sep 2011 16:21:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PPDKd1FD0sqC for ; Mon, 19 Sep 2011 16:20:58 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 77B8FCAFA5 for ; Mon, 19 Sep 2011 16:20:58 +0200 (CEST) Original-Received: from holleman.uva.nl (holleman.uva.nl [146.50.108.228]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8JEKvY5001189 for ; Mon, 19 Sep 2011 16:20:58 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by holleman.uva.nl ([146.50.108.228]) with mapi id 14.01.0289.001; Mon, 19 Sep 2011 16:20:57 +0200 Thread-Topic: [NTG-context] sizing MPpage Thread-Index: AQHMdtFgeC4yWD08FUup177VTxO+Z5VUlsEAgAAIxQA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <886AFEFF456B964DAC4160EFEF4EFE2D@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.228; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFyCkWo2 - ca1fedaa7f29 - 20110919 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:71209 Archived-At: Thanks, This does the trick for me. Hans van der Meer On 19 sep. 2011, at 15:49, Aditya Mahajan wrote: > On Mon, 19 Sep 2011, Meer, H. van der wrote: > >> How can one set the size of a \startMPpage..\stopMPpage generated picture. For example forcing its dimensions to 5X4cm. Or better still, derived from variables in the code. > > Add something like > > setbounds currentpicture to (fullsquare xyscaled (5cm,4cm)) ; > > at the end of the MP code. > > Aditya > ___________________________________________________________________________________ ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________