From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9528 Path: main.gmane.org!not-for-mail From: Manfred Lotz Newsgroups: gmane.comp.tex.context Subject: Re: [NTG-context] background color problem Date: Tue, 15 Oct 2002 06:58:17 +0200 Sender: ntg-context-admin@ref.vet.uu.nl Message-ID: <3DABA069.7020703@web.de> References: <3DAB02F3.6000304@web.de> <20021014211759.7de646cf.morawski@gmx.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399841 3751 80.91.224.250 (23 Oct 2002 19:04:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:04:01 +0000 (UTC) Cc: ntg-context@ntg.nl Original-Received: from hermes.hrz.uni-giessen.de (hermes.hrz.uni-giessen.de [134.176.2.15]) by osiris.hrz.uni-giessen.de (8.11.6+Sun/8.11.6) with ESMTP id g9F4xUe15690 for ; Tue, 15 Oct 2002 06:59:31 +0200 (MEST) Original-Received: from ref.vet.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Tue, 15 Oct 2002 06:59:16 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id EFBB510AD7; Tue, 15 Oct 2002 06:59:11 +0200 (MEST) Original-Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by ref.ntg.nl (Postfix) with ESMTP id 693E910AC2 for ; Tue, 15 Oct 2002 06:58:18 +0200 (MEST) Original-Received: from [212.144.204.106] (helo=gentoo.sanskrit.local.net) by smtp.web.de with esmtp (WEB.DE(Exim) 4.75 #2) id 181Jmb-0007EO-00; Tue, 15 Oct 2002 06:58:18 +0200 Original-Received: from web.de (localhost [127.0.0.1]) by gentoo.sanskrit.local.net (Postfix) with ESMTP id 527C958210; Tue, 15 Oct 2002 06:58:17 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020910 X-Accept-Language: en-us, en Original-To: Jens-Uwe Morawski Errors-To: ntg-context-admin@ref.vet.uu.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list fot ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9528 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9528 Thanks for the info. You are right. definetextbackground seems more to be what I'm looking for. Where do I find documentation about it? I didn't find a details.pdf. Manfred Jens-Uwe Morawski wrote: >On Mon, 14 Oct 2002 19:46:27 +0200 >Manfred Lotz wrote: > > > >>I try to create some text with background color. >>The following code snippet doesn't work however. >>___________________________________________ >>\definecolor [darkgreen] [r=.0, g=.5, b=.0] >>\setupcolors[state=start] >> >> > > > >>\setupbackgrounds >> [text][text] >> [background=color, >> backgroundcolor=darkgreen, >> backgroundoffset=1.25mm] >> >> > >This defines an "overlay" that is placed under the whole text area. >Thus, IMO, not the thing you want get. > >As far as i understand details.pdf (following is untested) it >should work with: > >\definetextbackground[TextBG] > [backgroundcolor=darkgreen, > backgroundoffset=.25cm, > offset=.5cm, > frame=off, > location=paragraph, > color=white] > >\starttextbackground[TextBG] >Some Text. >\stoptextbackground > >Jens >_______________________________________________ >ntg-context mailing list >ntg-context@ref.ntg.nl >http://ref.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://ref.ntg.nl/mailman/listinfo/ntg-context