From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64867 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.comp.tex.context Subject: Re: framed float with offset Date: Sat, 01 Jan 2011 17:36:26 +0100 Message-ID: <87zkrky41h.fsf@micropit.couberia.bzh> References: 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 1293899821 4021 80.91.229.12 (1 Jan 2011 16:37:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 16:37:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 01 17:36:56 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 1PZ4Rq-0000mU-TR for gctc-ntg-context-518@m.gmane.org; Sat, 01 Jan 2011 17:36:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C751CA96B; Sat, 1 Jan 2011 17:36:54 +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 O0-P-rSQtjc2; Sat, 1 Jan 2011 17:36:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70604CA95F; Sat, 1 Jan 2011 17:36:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85F51CA95F for ; Sat, 1 Jan 2011 17:36:41 +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 C7mo7dMiPDQj for ; Sat, 1 Jan 2011 17:36:30 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 74352CA95B for ; Sat, 1 Jan 2011 17:36:30 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr [80.12.242.126]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p01GaREl028650 for ; Sat, 1 Jan 2011 17:36:29 +0100 Original-Received: from micropit.couberia.bzh ([81.48.241.159]) by mwinf5d39 with ME id qGcS1f00C3T34Qp03GcTDH; Sat, 01 Jan 2011 17:36:27 +0100 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 9C11316074A; Sat, 1 Jan 2011 17:36:26 +0100 (CET) In-Reply-To: (Sanjoy Mahajan's message of "Sat, 1 Jan 2011 10:53:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=80.12.242.126; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDOgArhX - 93833778cae8 - 20110101 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 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:64867 Archived-At: Sanjoy Mahajan writes: > \starttext > \placefigure[right,none]{}% > {\externalfigure[sample/cow.pdf]% > [scale=500, > frame=on, frameoffset=20pt, > framecolor=black, > background=color, backgroundcolor=lightgray, > backgroundoffset=20pt]} > > \input knuth > \stoptext > > But the frame and background bleed into the text. Hello Sanjoy, \starttext \placefigure[right]{Problem: offset=20pt ignored here!} {\externalfigure[sample/cow.pdf] [scale=500, frame=on, offset=20pt, background=color, backgroundcolor=lightgray]} \input knuth \placefigure[right]{This is ok!}{\framed[offset=20pt, background=color, backgroundcolor=lightgray]{\externalfigure[sample/cow.pdf][scale=500]}} \input knuth \stoptext Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________