From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31778 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Columns and backgrounds problem Date: Tue, 7 Nov 2006 09:39:01 -0500 Message-ID: <10672EFD-4494-4BD7-BFF1-652F1FA20C7D@indiana.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162910367 6291 80.91.229.2 (7 Nov 2006 14:39:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 14:39:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 07 15:39:25 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 1GhS6m-000664-L2 for gctc-ntg-context-518@m.gmane.org; Tue, 07 Nov 2006 15:39:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE9751FE62; Tue, 7 Nov 2006 15:39:22 +0100 (CET) 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 15404-03; Tue, 7 Nov 2006 15:39:13 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 075D81FE43; Tue, 7 Nov 2006 15:39:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 216361FE54 for ; Tue, 7 Nov 2006 15:39:11 +0100 (CET) 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 15405-02 for ; Tue, 7 Nov 2006 15:39:06 +0100 (CET) Original-Received: from julesburg.uits.indiana.edu (julesburg.uits.indiana.edu [129.79.1.75]) by ronja.ntg.nl (Postfix) with SMTP id C7C991FD51 for ; Tue, 7 Nov 2006 15:39:05 +0100 (CET) Original-Received: from mail-relay.iu.edu (logchain.uits.indiana.edu [129.79.1.77]) by julesburg.uits.indiana.edu (8.13.6/8.12.10/IUPO) with ESMTP id kA7Ed0RZ011968 for ; Tue, 7 Nov 2006 09:39:01 -0500 (EST) Original-Received: from [129.79.94.225] (129-79-94-225.dhcp-bl.indiana.edu [129.79.94.225]) (authenticated bits=0) by mail-relay.iu.edu (8.13.6/8.12.10/IUPO) with ESMTP id kA7Ed2R2001633 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 7 Nov 2006 09:39:03 -0500 (EST) Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) 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:31778 Archived-At: Hello, I am trying to use backgrounds in columns. Typically, the background runs into the other column as the following example. Is this a limitation, or am I doing something wrong? Any help is appreciated. Matthias \setupcolors[state=start] \setuppagenumbering[location=] \setupbodyfont[12pt] \definecolor[myframecolor][r=.0,g=.5,b=.6] \definecolor[myheadcolor][r=.0,g=.5,b=.0] \definecolor[myemcolor][r=.6,g=.1,b=.5] \definecolor[textcolor][r=.2,g=.02,b=.3] \definecolor[thmcolor] [r=.94,g=.94,b=.9] \definetextbackground [thmbackground] [backgroundcolor=thmcolor, %corner=round, before=\blank, after=\blank, leftoffset=5pt, rightoffset=5pt, topoffset=5pt, bottomoffset=5pt, frame=on, framecolor=darkblue, location=paragraph, color=darkblue] \defineenumeration [theorem] [before={\starttextbackground[thmbackground]}, after={\stoptextbackground}, text=Theorem, way=bysection, location=hanging, letter=rm] \setuppapersize[letter][letter] \starttext \startcolumns[n=2] \input tufte \starttheorem $1+1=2$ \stoptheorem \input tufte \starttheorem $1+1=2$ \stoptheorem \input tufte \stopcolumns \stoptext