From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28134 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: Background placement Date: Tue, 23 May 2006 00:29:43 +0200 Message-ID: References: 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 1148336771 30481 80.91.229.2 (22 May 2006 22:26:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 May 2006 22:26:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 23 00:26:07 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 1FiIqc-0003un-KI for gctc-ntg-context-518@m.gmane.org; Tue, 23 May 2006 00:25:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFAA012788; Tue, 23 May 2006 00:25:57 +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 29454-03; Tue, 23 May 2006 00:25:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9D7481276C; Tue, 23 May 2006 00:25:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D1121276C for ; Tue, 23 May 2006 00:25:45 +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 29653-03-3 for ; Tue, 23 May 2006 00:25:43 +0200 (CEST) Original-Received: from swip.net (mailfe11.tele2.fr [212.247.155.76]) by ronja.ntg.nl (Postfix) with SMTP id 10F80126F8 for ; Tue, 23 May 2006 00:25:42 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.134.157] (HELO localhost) by mailfe11.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 31867603 for ntg-context@ntg.nl; Tue, 23 May 2006 00:25:40 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: 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:28134 Archived-At: On Mon, 22 May 2006 14:32:45 -0400 (EDT), Aditya Mahajan wrote: > On Mon, 22 May 2006, nico wrote: > >> The problem often occurs just after a heading starting at the top of a >> page (section, enumeration title). Here is an example showing the >> behaviour: > > I had a similar problem in the past, and Hans suggested to use > starttextbackground instead of background. background is supposed to be > deprecated. Deprecated? Really? > Try the following code and see if you get what you want. > > setuplayout[middle] > \setupcolors[state=start] > > \definecolor[ScreenGray][s=0.95] > > \definetextbackground[listing] Yes, thanks, it works (this time I haven't the weird behaviour I had some time ago with textbackground... strange). But it's time consuming and looks then as an overkill solution. To build a 400p book (on a slow machine, it's true): - It takes 396s with background, - It takes 539s with textbackground, and I've 260 MP graph files generated! Regards, BG