From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9527 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: Re: [NTG-context] background color problem Date: Mon, 14 Oct 2002 21:17:59 +0200 Sender: ntg-context-admin@ref.vet.uu.nl Message-ID: <20021014211759.7de646cf.morawski@gmx.net> References: <3DAB02F3.6000304@web.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399840 3742 80.91.224.250 (23 Oct 2002 19:04:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:04:00 +0000 (UTC) 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 g9EJLWe17041 for ; Mon, 14 Oct 2002 21:21:32 +0200 (MEST) Original-Received: from ref.vet.uu.nl by hermes.hrz.uni-giessen.de with ESMTP for Guenter.Partosch@hrz.uni-giessen.de; Mon, 14 Oct 2002 21:21:14 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3DC5310ADC; Mon, 14 Oct 2002 21:21:10 +0200 (MEST) Original-Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id 0101910AD3 for ; Mon, 14 Oct 2002 21:20:53 +0200 (MEST) Original-Received: (qmail 29111 invoked by uid 0); 14 Oct 2002 19:20:53 -0000 Original-Received: from port1514.fra.ginko.net (HELO eXergie) (212.202.67.244) by mail.gmx.net (mp017-rz3) with SMTP; 14 Oct 2002 19:20:53 -0000 Original-To: ConTeXt In-Reply-To: <3DAB02F3.6000304@web.de> X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i586-pc-linux-gnu) 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:9527 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9527 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