From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28143 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Textbackground overlapping (2) Date: Tue, 23 May 2006 12:26:33 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148379783 28076 80.91.229.2 (23 May 2006 10:23:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 10:23:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 23 12:23:00 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FiU2L-0004yx-5f for gctc-ntg-context-518@m.gmane.org; Tue, 23 May 2006 12:22:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8ABE7127BE; Tue, 23 May 2006 12:22: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 13020-01-3; Tue, 23 May 2006 12:22:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A58D127B2; Tue, 23 May 2006 12:22:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D68EC127BC for ; Tue, 23 May 2006 12:22:37 +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 11921-01-4 for ; Tue, 23 May 2006 12:22:35 +0200 (CEST) Original-Received: from swip.net (mailfe03.tele2.fr [212.247.154.76]) by ronja.ntg.nl (Postfix) with SMTP id E1140127B2 for ; Tue, 23 May 2006 12:22:30 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.158.134] (HELO localhost) by mailfe03.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 207527126 for ntg-context@ntg.nl; Tue, 23 May 2006 12:22:30 +0200 Original-To: "mailing list for ConTeXt users" User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28143 Archived-At: Hello, Sorry, just another overlapping case I should have put in the preceding mail: when a float cuts the backgrounded stuff, the float is backgrounded too. Maybe harder to fix. An example showing both cases (footnote + float): \definecolor[ScreenGray][s=.95] \definetextbackground[grayback] [background=color, backgroundcolor=ScreenGray, frame=on, strut=yes, width=broad, location=paragraph, framecolor=ScreenGray, leftoffset=\topskipgap, before=\blank, after=\blank, align=right] \starttext A footnote\footnote{Covered by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \placefigure[top]{joke}{\framed[width=5cm]{Hi}} \stoptext Regards, BG