From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20479 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: presentations in ConTeXt Date: Tue, 24 May 2005 19:33:39 +0200 Message-ID: <6faad9f005052410333139b7f2@mail.gmail.com> References: <9EA19B5C-0590-49C8-B397-0DDF02B0E53F@uni-bonn.de> Reply-To: Mojca Miklavec , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1116955987 9226 80.91.229.2 (24 May 2005 17:33:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 17:33:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 24 19:33:01 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DadGA-0003Ay-TO for gctc-ntg-context-518@m.gmane.org; Tue, 24 May 2005 19:32:07 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C51A127CC; Tue, 24 May 2005 19:33:48 +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 29436-06; Tue, 24 May 2005 19:33:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A042127A9; Tue, 24 May 2005 19:33:43 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99BE4127A9 for ; Tue, 24 May 2005 19:33:42 +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 29459-04 for ; Tue, 24 May 2005 19:33:41 +0200 (CEST) Original-Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by ronja.ntg.nl (Postfix) with ESMTP id 3D307127A8 for ; Tue, 24 May 2005 19:33:40 +0200 (CEST) Original-Received: by wproxy.gmail.com with SMTP id 36so382277wra for ; Tue, 24 May 2005 10:33:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i7F7JgQLEdF/Yn9VG7t6A9n4SWXDbQRuh9pdqRYz0GkOGD/mIf5lRR2PBHwPSOMu/m5QbjCFL0v23QkG5tpoO/Ku7YNIbhuu+y+Vkyo9Gfdysc56/vjJ/6fWPhqOmcwy/wGlENS5S/ZTJytvVYR5HW6DiC+5WMATJshiQY5h7/Q= Original-Received: by 10.54.46.37 with SMTP id t37mr656258wrt; Tue, 24 May 2005 10:33:39 -0700 (PDT) Original-Received: by 10.54.138.16 with HTTP; Tue, 24 May 2005 10:33:39 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <9EA19B5C-0590-49C8-B397-0DDF02B0E53F@uni-bonn.de> Content-Disposition: inline X-Virus-Scanned: 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: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20479 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20479 On 5/23/05, Thomas A. Schmitz wrote: > I am still at a loss how to achieve one thing in ConTeXt that was > pretty easy in Keynote or (shudder) Powerpoint: When I wanted to > highlight something on a map or a picture, I would just draw a red > circle around it. What would be the proper way to do this in ConTeXt? > Adding a layer with a red circle drawn in Metapost, then positioning > it by trial and error? Or can anyone point to a better solution? What kind of picture do you have? If you have .jpg/.png/..., you can get (x,y) position of the pixel where the center of circle should be. One possibility is to create a new metapost figure and draw the circle on it using the measured coordinates: (This circles the blue tulip on http://contextgarden.net/images/6/65/Kochloewe_c.jpg.) \setupcolors[state=3Dstart] \starttext \startuseMPgraphic{CircleBlueTulip} =09% center point =09pair size, c; =09% figure will be 10 cm wide =09scale :=3D 10cm/400; =09 =09% center of the blue tulip is on (219,333), image is 400*460 =09size :=3D (400,460) scaled scale; =09c :=3D (222,460-330) scaled scale; =09% diameter of the circle should be 50 pixels =09d :=3D 50scale; =09pickup pencircle scaled 2pt; =09externalfigure "Kochloewe_c.jpg" xyscaled size; =09draw fullcircle scaled d shifted c withcolor red; \stopuseMPgraphic \useMPgraphic{CircleBlueTulip} \stoptext I believe there exists a more straightforward way if you make uniqueMPgraphic and specify coordinate fractions of the circle to be drawn, but if you say: \framed[background=3DSomeGraphicWithACircle]{\externalfigure[Kochloewe_c][w= idth=3D10cm]}, the circle (if any) is drawn behind the figure and cannot be used as such. Unless you specify the figure in a new layer and draw both layers in the proper order. In this case it would be fine to have a \framed[...foreground=3D...] comman= d :) > And lastly: I have never seen transitions working on OS X (both > Apple's Preview and Adobe Reader 7.0). Can anybody confirm that they > got this working on other systems? They work in Windows XP (I'n not sure if they're also working using ConTeXt commands). But they are so ugly that you don't want to use them. Mojca