From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59326 Path: news.gmane.org!not-for-mail From: Adam Fuller Newsgroups: gmane.comp.tex.context Subject: 3. Re: \MPpos, pxy, initialize_box(), oh my! (Hongwen Qiu) Date: Sat, 05 Jun 2010 14:56:21 +1200 Organization: University of Canterbury Message-ID: <4C09BCD5.9050400@pg.canterbury.ac.nz> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary_(ID_3lkkf2g08nR7jV7AZVnuBg)" X-Trace: dough.gmane.org 1275706610 8428 80.91.229.12 (5 Jun 2010 02:56:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 02:56:50 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 05 04:56:48 2010 connect(): No such file or directory 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 1OKjZ1-0005rS-8X for gctc-ntg-context-518@m.gmane.org; Sat, 05 Jun 2010 04:56:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1793C9CBF; Sat, 5 Jun 2010 04:56:38 +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 aA7DGtsozLQg; Sat, 5 Jun 2010 04:56:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31CA6C9CAF; Sat, 5 Jun 2010 04:56:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17FC2C9CA7 for ; Sat, 5 Jun 2010 04:56:29 +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 YJwtKb00voct for ; Sat, 5 Jun 2010 04:56:25 +0200 (CEST) Original-Received: from cantvi.canterbury.ac.nz (cantvi.canterbury.ac.nz [132.181.2.61]) by balder.ntg.nl (Postfix) with ESMTP id 7E946C9C96 for ; Sat, 5 Jun 2010 04:56:25 +0200 (CEST) Original-Received: from CONVERSION-DAEMON.it.canterbury.ac.nz by it.canterbury.ac.nz (PMDF V6.4 #31627) id <01NNYPWL8YJK9EL1WI@it.canterbury.ac.nz> for ntg-context@ntg.nl; Sat, 05 Jun 2010 14:56:21 +1200 (NEW ZEALAND STANDARD TIME) Original-Received: from [10.1.1.7] (125-237-210-237.jetstream.xtra.co.nz [125.237.210.237]) by it.canterbury.ac.nz (PMDF V6.4 #31761) with ESMTPSA id <01NNYPWKRUUM9GV8Y3@it.canterbury.ac.nz> for ntg-context@ntg.nl; Sat, 05 Jun 2010 14:56:21 +1200 (NEW ZEALAND STANDARD TIME) In-reply-to: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 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:59326 Archived-At: This is a multi-part message in MIME format. --Boundary_(ID_3lkkf2g08nR7jV7AZVnuBg) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 5/06/2010 6:31 a.m., ntg-context-request@ntg.nl wrote: > 3. Re: \MPpos, pxy, initialize_box(), oh my! (Hongwen Qiu) hi hongwen, thanks for taking an interest. my initial post had a mistake: i meant to refer to the /Metafun/ manual, not the Metapost manual. that probably didn't help. i guess what i should have said is, i know that pxy can give me the bounding /box/ (the rectangle with the maximum horizontal and vertical extents of its contents, be they set in horizontal or vertical mode), but can it give me the subset of that, the bounding /path/, if you will, when the contents are text which flows over several lines. the bounding /path/ may not be rectangular, although it will be something like the union of the bounding boxes of the text's individual lines. i think if you look at the correct reference, the difference of the effects is clear. i think the challenge is that you don't know where the line breaks will occur until you typeset it. --adam --Boundary_(ID_3lkkf2g08nR7jV7AZVnuBg) Content-type: text/x-vcard; charset=utf-8; name="adam_fuller.vcf" Content-transfer-encoding: 7bit Content-disposition: attachment; filename="adam_fuller.vcf" begin:vcard fn:Adam Fuller n:Fuller;Adam org:University of Canterbury;Mechanical Engineering adr:Private Bag 4800;;Intersection of Creyke Rd and Engineering Rd;Christchurch;Canterbury;8041;New Zealand email;internet:adam.fuller@pg.canterbury.ac.nz title:Ph.D. candidate tel;work:(+64) 3 364 2987 ext. 8390 tel;fax:(+64) 3 364 2078 tel;home:(+64) 3 366 3455 tel;cell:(+64) 21 0254 8677 url:http://www.mech.canterbury.ac.nz/ version:2.1 end:vcard --Boundary_(ID_3lkkf2g08nR7jV7AZVnuBg) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Boundary_(ID_3lkkf2g08nR7jV7AZVnuBg)--