From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31815 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Re: Columns and backgrounds problem Date: Fri, 10 Nov 2006 15:37:46 -0500 Message-ID: <4EBDD13D-41B1-4FEF-AB4A-E9AABC8F9B31@indiana.edu> References: <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 1163191124 28031 80.91.229.2 (10 Nov 2006 20:38:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 20:38:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 10 21:38:39 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 1Gid8w-00019K-LM for gctc-ntg-context-518@m.gmane.org; Fri, 10 Nov 2006 21:38:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 079061FF3F; Fri, 10 Nov 2006 21:38:30 +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 19336-03-7; Fri, 10 Nov 2006 21:38:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B4531FEC6; Fri, 10 Nov 2006 21:38:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BAAA1FF36 for ; Fri, 10 Nov 2006 21:38:12 +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 19336-03-6 for ; Fri, 10 Nov 2006 21:38:02 +0100 (CET) Original-Received: from plounts.uits.indiana.edu (plounts.uits.indiana.edu [129.79.1.73]) by ronja.ntg.nl (Postfix) with SMTP id 970C91FAA5 for ; Fri, 10 Nov 2006 21:38:00 +0100 (CET) Original-Received: from mail-relay.iu.edu (logchain.uits.indiana.edu [129.79.1.77]) by plounts.uits.indiana.edu (8.13.6/8.12.10/IUPO) with ESMTP id kAAKbjZ3026814 for ; Fri, 10 Nov 2006 15:37:45 -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 kAAKblN7008293 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 10 Nov 2006 15:37:48 -0500 (EST) In-Reply-To: <10672EFD-4494-4BD7-BFF1-652F1FA20C7D@indiana.edu> 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:31815 Archived-At: To provide a workaround for my own question: Using columnsets instead of columns works. Matthias On Nov 7, 2006, at 9:39 AM, Matthias Weber wrote: > 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 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context