From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60958 Path: news.gmane.org!not-for-mail From: taco Newsgroups: gmane.comp.tex.context Subject: Re: \framed \placelist Date: Tue, 17 Aug 2010 00:49:37 +0200 Message-ID: <4C69C081.8000805@elvenkind.com> References: <7A7C578C-FCE7-401A-AED3-6CA8CAFFCC2A@rz-online.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1281998998 6859 80.91.229.12 (16 Aug 2010 22:49:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 22:49:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 17 00:49:56 2010 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 1Ol8V9-0004Lm-Tw for gctc-ntg-context-518@m.gmane.org; Tue, 17 Aug 2010 00:49:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB500CA55D; Tue, 17 Aug 2010 00:49:54 +0200 (CEST) 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 yX3YMyBLzbGm; Tue, 17 Aug 2010 00:49:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CC52CA55A; Tue, 17 Aug 2010 00:49:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 569FACA55A for ; Tue, 17 Aug 2010 00:49:50 +0200 (CEST) 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 DF7YzSdD2aNR for ; Tue, 17 Aug 2010 00:49:39 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id EA642CA246 for ; Tue, 17 Aug 2010 00:49:38 +0200 (CEST) Original-Received: from server5.aanhet.net (server5.aanhet.net [195.12.62.5]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7GMnckh032035 for ; Tue, 17 Aug 2010 00:49:38 +0200 Original-Received: from [192.168.178.28] (boo.demon.nl [83.163.247.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server5.aanhet.net (Postfix) with ESMTPSA id 38CCE2000BF5 for ; Tue, 17 Aug 2010 00:49:38 +0200 (CEST) User-Agent: Thunderbird 2.0.0.19 (X11/20090114) In-Reply-To: <7A7C578C-FCE7-401A-AED3-6CA8CAFFCC2A@rz-online.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.12.62.5; country=NL; region=11; city=Alphen; latitude=52.1333; longitude=4.6667; http://maps.google.com/maps?q=52.1333,4.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rCTaNCen - a797ce050c5f - 20100817 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:60958 Archived-At: Andreas Harder wrote: > Hi all, > > if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. > > \starttext > \framed > [background=color,backgroundcolor=gray] > {\placelist[section]} > \dorecurse{10}{\section{test #1} \input tufte } > \stoptext > > So what is the way to put a background behind the list? putting it in a \vbox works, but \startframedtext ... \stopframedtext is nicer: \startframedtext [background=color,width=\the\hsize,backgroundcolor=gray] \placelist[section] \stopframedtext Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________