From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5889 Path: main.gmane.org!not-for-mail From: Arun Mangalam Newsgroups: gmane.comp.tex.context Subject: Re: Stand-alone Graphic Date: Tue, 16 Oct 2001 16:04:58 -0400 Sender: owner-ntg-context@let.uu.nl Message-ID: <12F31B7E-C271-11D5-A80B-00050207AA90@mac.com> References: <5.1.0.14.1.20011016181947.0314bf50@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (Apple Message framework v472) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396454 5482 80.91.224.250 (23 Oct 2002 18:07:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:07:34 +0000 (UTC) Cc: "ConTeXt mailing list" Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20011016181947.0314bf50@server-1> Xref: main.gmane.org gmane.comp.tex.context:5889 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5889 That is totally awesome! It works except that there is some extra space to the left of the picture [not really a problem]. Thanks a lot! :) The code is now [with a nice clipped Escher picture] and it works: \setupcolors[state=start] \startMPclip{text clip} clip currentpicture to fullcircle shifted (.5,.5) xscaled \width yscaled \height ; \stopMPclip \startuseMPgraphic{clip outline} draw fullcircle xscaled \overlaywidth yscaled \overlayheight withpen pencircle scaled 3mm withcolor .625red ; \stopuseMPgraphic \defineoverlay [clip outline] [\useMPgraphic{clip outline}] \starttext \startTEXpage[scale=3000,offset=5pt] {\framed [background=clip outline,offset=overlay,frame=off] {\clip [nx=1,ny=1,mp=text clip] {\externalfigure[escher_ascending][type=jpg,width=3cm,height=3cm]}}} \stopTEXpage \stoptext On Tuesday, October 16, 2001, at 12:20 PM, Hans Hagen wrote: > At 09:27 AM 10/16/2001 -0400, Arun Mangalam wrote: > > >> My question is: is it possible and, if so, how do I create a >> stand-alone pdf graphic for other graphics within ConTeXt? For >> example, I would like to create a stand-alone graphic for the >> following code [instead of a PDF page]: > > \startTEXpage[scale=4000,offset=3pt] > Let me show you a little secret! > \stopTEXpage > > From this you can deduce that there is a general underlaying mechanism > at work -) > > Hans