From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15947 Path: main.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: EPS/PDF import and \underbrace in metaplay Date: Wed, 04 Aug 2004 16:07:17 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4110ED95.6070003@email.si> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091629216 15893 80.91.224.253 (4 Aug 2004 14:20:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2004 14:20:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 04 16:20:08 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BsMci-00070M-00 for ; Wed, 04 Aug 2004 16:20:08 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E14F912775; Wed, 4 Aug 2004 16:20:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32564-05; Wed, 4 Aug 2004 16:20:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3804A1276B; Wed, 4 Aug 2004 16:18:24 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E835A126F8 for ; Wed, 4 Aug 2004 16:18:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32567-03 for ; Wed, 4 Aug 2004 16:18:22 +0200 (CEST) Original-Received: from avs2.arnes.si (unknown [193.2.1.75]) by ronja.ntg.nl (Postfix) with ESMTP id 7E5371276B for ; Wed, 4 Aug 2004 16:07:21 +0200 (CEST) Original-Received: from localhost (avs2.arnes.si [193.2.1.75]) by avs2.arnes.si (Postfix) with ESMTP id 42B0126D450 for ; Wed, 4 Aug 2004 16:07:21 +0200 (CEST) Original-Received: from avs2.arnes.si ([193.2.1.75]) by localhost (avs2.arnes.si [193.2.1.75]) (amavisd-new, port 10024) with ESMTP id 31203-01 for ; Wed, 4 Aug 2004 16:07:21 +0200 (CEST) Original-Received: from email.si (ar20-15i.dial-up.arnes.si [194.249.10.207]) by avs2.arnes.si (Postfix) with ESMTP id 3D8B126D29F for ; Wed, 4 Aug 2004 16:07:20 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sl-SI; rv:1.6) Gecko/20040113 X-Accept-Language: sl, en, en-us, de Original-To: mailing list for ConTeXt users X-Virus-Scanned: by amavisd-new at arnes.si X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15947 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15947 I have two questions cencerning metapost/metaplay: 1.) EPS/PDF import How do I make an existing EPS or PDF image a part of some other meta[post/play] graphic? 2.) \underbrace I wrote the following two macros for drawing braces in graphics: \def\underbracedescription#1#2{$\underbrace{\hbox{\vrule width#1 height 0bp}}_{\hbox{\strut #2}}$} \def\rightbracedescription#1#2{$\displaystyle{\left.\vphantom{\hbox{\vrule width0bp height#1 depth#1}}\right\}\hbox{\strut #2}}$} However, the width has to be given manually - it doesn't care about the actual size of the object it has to be applied to. How is it possible to give the command some more flexibility? (say, to be able to simply use \underbracedescription{pict}{description}, perhaps even without the need of specifying the coordinates explicitly, but) Thanks a lot, Mojca Miklavec