From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15948 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: EPS/PDF import and \underbrace in metaplay Date: Wed, 04 Aug 2004 17:42:15 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <411103D7.4080301@seznam.cz> References: <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 1091634104 29344 80.91.224.253 (4 Aug 2004 15:41:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2004 15:41:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 04 17:41:30 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 1BsNtS-0005mf-00 for ; Wed, 04 Aug 2004 17:41:30 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 28EE212775; Wed, 4 Aug 2004 17:41:30 +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 00342-03; Wed, 4 Aug 2004 17:41:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 550141276C; Wed, 4 Aug 2004 17:41:27 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D1E1C1276C for ; Wed, 4 Aug 2004 17:41:25 +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 32766-04 for ; Wed, 4 Aug 2004 17:41:25 +0200 (CEST) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 4681B1276B for ; Wed, 4 Aug 2004 17:41:25 +0200 (CEST) Original-Received: (qmail 6546 invoked from network); 4 Aug 2004 15:41:25 -0000 Original-Received: from unknown (HELO ?192.168.1.45?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 4 Aug 2004 15:41:25 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: cs, en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4110ED95.6070003@email.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:15948 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15948 Mojca Miklavec wrote: > 1.) EPS/PDF import > > How do I make an existing EPS or PDF image a part of some other > meta[post/play] graphic? Use externalfigure (Metafun manual, 8.4 Including graphics) > 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 I do not understand what is your desire. But in the case of obtaining real dimmensions: \setbox0=\hbox{ ... }% then \wd0 is width \ht0 is height \dp0 is depth \box0 or \copy0 give the box contain Vit Zyka