From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11872 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: Error using \starttextbackground. (LONG) Date: Thu, 10 Apr 2003 23:19:31 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: <87llyiqcd8.fsf@gundla.ch> References: <5.2.0.9.1.20030409092903.01daf3f0@server-1> <200304101146.20460.john@wexfordpress.com> <87el4as5mr.fsf@gundla.ch> <200304101233.07781.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050009721 12872 80.91.224.249 (10 Apr 2003 21:22:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2003 21:22:01 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Apr 10 23:21:56 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193jUa-0003L5-00 for ; Thu, 10 Apr 2003 23:21:56 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D18AE10B64; Thu, 10 Apr 2003 23:22:26 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by ref.ntg.nl (Postfix) with ESMTP id 0A6C110B59 for ; Thu, 10 Apr 2003 23:19:58 +0200 (MEST) Original-Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 193jSd-00062q-00; Thu, 10 Apr 2003 23:19:55 +0200 Original-Received: from [129.217.137.219] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 193jSd-0004YA-00; Thu, 10 Apr 2003 23:19:55 +0200 Original-Received: from pg by levana with local (Exim 3.12 #1 (Debian)) id 193jSF-0000Hl-00; Thu, 10 Apr 2003 23:19:31 +0200 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: a.c. In-Reply-To: <200304101233.07781.john@wexfordpress.com> (John Culleton's message of "Thu, 10 Apr 2003 12:33:07 -0400") Original-Lines: 66 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11872 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11872 John Culleton writes: > I feel we have rounded the bend and are galloping for finish line :-) :) > I did as Giuseppe suggested, deleted the files from .../context, > left the .../context/base directory intact. Now the error message > goes away but the background does not appear. I also added the > \setupcolors[state=start] as suggested for my \framedtext example. Let us first try a simple background, then we go to columnsets: % output=pdf \mainlanguage[de] \setupcolors[state=start] \definetextbackground[wichtig] [backgroundcolor=lightgray, location=paragraph, frame=off, backgroundoffset=5pt, ] \starttext \starttextbackground[wichtig] \input tufte \stoptextbackground \stoptext Or a somewhat more complicated one: % output=pdf \mainlanguage[de] \setupcolors[state=start] \definetextbackground[wichtig][] \startuseMPgraphic{mpos:par:columnset} for i := 1 upto nofmultipars : linear_shade(multipars[i] enlarged 5pt cornered 20pt,1, \MPcolor{middlegreen},\MPcolor{lightgreen}); endfor ; \stopuseMPgraphic \starttext \starttextbackground[wichtig] \input tufte \stoptextbackground \stoptext Do they come out right? > ### simple group (level 1) entered at line 23 ({) > ### bottom level [...] > \stoptextbackground \stopcolumnset > \page[new] > \stoptext Patrick