From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13926 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: Figure reuse Date: Fri, 24 Oct 2003 23:11:09 +0200 Organization: chaos Sender: ntg-context-admin@ntg.nl Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067030807 14572 80.91.224.253 (24 Oct 2003 21:26:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2003 21:26:47 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Oct 24 23:26:45 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AD9SH-000317-00 for ; Fri, 24 Oct 2003 23:26:45 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 13E2110B1D; Fri, 24 Oct 2003 23:26:43 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by ref.ntg.nl (Postfix) with ESMTP id 4DE2B10B0E for ; Fri, 24 Oct 2003 23:19:09 +0200 (MEST) Original-Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AD9Kt-0000Mg-00; Fri, 24 Oct 2003 23:19:07 +0200 Original-Received: from [62.72.92.76] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AD9Ks-0003FA-00; Fri, 24 Oct 2003 23:19:07 +0200 Original-Received: from [192.168.1.2] (helo=schnee.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 1AD9D7-00011D-00; Fri, 24 Oct 2003 23:11:05 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id h9OLBAN9001890; Fri, 24 Oct 2003 23:11:10 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h9OLB9aM001889; Fri, 24 Oct 2003 23:11:09 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: (Nigel King's message of "Fri, 24 Oct 2003 18:39:37 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13926 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13926 Hi, > I believe that pdfs can make multiple use of pictures (and other objects). right. > I have a fairly large picture which I want to include a number of > times, once as the full picture and several other times > concentrating on a portion of it. Are there any commands for > cropping other than going through metapost? Yes. Try this example. You can see from the resulting pdf file that the cow.pdf gets included only once. \useexternalfigure[cow] \starttext \setupclipping[nx=3,ny=3] % 1/3 of a sliced cow \hbox{% \clip [x=1,y=2]{\externalfigure[cow]} \clip [x=2,y=2]{\externalfigure[cow]} \clip [x=3,y=2]{\externalfigure[cow]} } \blank[4*big] % its in the details: \scale[sx=2,sy=2]{\clip [x=2,y=2]{\externalfigure[cow]}} \stoptext Patrick -- You are your own rainbow!