From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64872 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed float with offset Date: Sat, 1 Jan 2011 20:53:59 -0500 Message-ID: References: <87zkrky41h.fsf@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293933270 26963 80.91.229.12 (2 Jan 2011 01:54:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 01:54:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 02 02:54:26 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZD9N-0007m7-OB for gctc-ntg-context-518@m.gmane.org; Sun, 02 Jan 2011 02:54:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0FCF6CA987; Sun, 2 Jan 2011 02:54:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ADK9JJn9GmFD; Sun, 2 Jan 2011 02:54:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3CE4ECA978; Sun, 2 Jan 2011 02:54:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DB7BCA978 for ; Sun, 2 Jan 2011 02:54:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qDHqqmdghJfN for ; Sun, 2 Jan 2011 02:54:06 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 6738FCA977 for ; Sun, 2 Jan 2011 02:54:06 +0100 (CET) Original-Received: from EXCAS01.olin.edu (webmail.olin.edu [209.94.128.49]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p021s3Cw020186 for ; Sun, 2 Jan 2011 02:54:04 +0100 Original-Received: from approx.mit.edu (96.237.69.170) by smtps.olin.edu (10.1.15.25) with Microsoft SMTP Server (TLS) id 8.1.436.0; Sat, 1 Jan 2011 20:54:01 -0500 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.72) (envelope-from ) id 1PZD8x-0006tv-LY; Sat, 01 Jan 2011 20:53:59 -0500 In-Reply-To: Your message of "Sat, 01 Jan 2011 17:36:26 +0100." <87zkrky41h.fsf@micropit.couberia.bzh> X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.2.1 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.94.128.49; country=US; region=MA; city=Needham; postalcode=02492; latitude=42.2793; longitude=-71.2450; metrocode=506; areacode=781; http://maps.google.com/maps?q=42.2793,-71.2450&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DOpS3TP - 8d53bf20da31 - 20110102 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:64872 Archived-At: Peter, > \placefigure[right]{This is ok!}{\framed[offset=20pt, > background=color, > backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} > \input knuth Ah, I had tried almost that recipe (of wrapping the \externalfigure in a \framed) but had used backgroundoffset and frameoffset. Yours works perfectly. I wikified the recipe at -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________