From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45270 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: backgrounds: help needed Date: Tue, 4 Nov 2008 12:16:22 +0100 Message-ID: <20081104111622.GA9179@pm-suse.deltadore.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225797645 22519 80.91.229.12 (4 Nov 2008 11:20:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 11:20:45 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 04 12:21:41 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1KxJya-0000yF-Hq for gctc-ntg-context-518@m.gmane.org; Tue, 04 Nov 2008 12:21:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A42C01FC1A; Tue, 4 Nov 2008 12:20:27 +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 19931-03; Tue, 4 Nov 2008 12:19:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 019BA1FB49; Tue, 4 Nov 2008 12:17:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F023D1FA4C for ; Tue, 4 Nov 2008 12:17:14 +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 18377-06-5 for ; Tue, 4 Nov 2008 12:16:25 +0100 (CET) Original-Received: from mail.deltadore.com (mail.deltadore.com [81.255.78.130]) by ronja.ntg.nl (Postfix) with ESMTP id 4D5EF1FB49 for ; Tue, 4 Nov 2008 12:16:25 +0100 (CET) Original-Received: from mail.deltadore.com (unknown [192.168.5.151]) by mail.deltadore.com (Postfix) with ESMTP id 878D3794064 for ; Tue, 4 Nov 2008 12:16:22 +0100 (CET) Original-Received: from eSafe.deltadore.com ([192.168.95.250]) by mail.deltadore.com with Mail id azGN1a0015Q75s00000000; Tue, 04 Nov 2008 12:16:22 +0100 Original-Received: from combourg01.deltadore.bzh ([192.1.2.2]) by eSafe SMTP Relay 1222932368; Tue, 04 Nov 2008 12:15:26 +0200 Original-Received: from pm-suse.deltadore.bzh ([192.1.2.126]) by combourg01.deltadore.bzh (Lotus Domino Release 8.0.1) with ESMTP id 2008110412161909-2841 ; Tue, 4 Nov 2008 12:16:19 +0100 Original-Received: by pm-suse.deltadore.bzh (Postfix, from userid 1000) id 7714931642D; Tue, 4 Nov 2008 12:16:23 +0100 (CET) Mail-Followup-To: ConTeXt list User-Agent: Mutt/1.5.17 (2007-11-01) X-MIMETrack: Itemize by SMTP Server on COMBOURG01/DELTADORE(Release 8.0.1|February 07, 2008) at04/11/2008 12:16:19, Serialize by Router on COMBOURG01/DELTADORE(Release 8.0.1|February 07, 2008) at04/11/2008 12:16:19, Serialize complete at 04/11/2008 12:16:19 Content-Disposition: inline X-ESAFE-STATUS: Mail clean X-ESAFE-DETAILS: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:45270 Archived-At: Hello, I need some text with background, that can break across lines. But the background must not touch the background of the next line! \setupcolors[state=start] \starttext inframed does not allow linebreaks: \def\Bla{\inframed[background=color, backgroundcolor=gray, frame=off, offset=overlay, backgroundoffset=2pt, location=keep]{% FF FF XX XX XX XX XX XX SS CS CS}} \dorecurse{20}{bla \Bla\ bla} And textbackground does not allow to seperate the backgrounds of 2 lines: \definetextbackground[TG][backgroundcolor=gray, frame=off, offset=overlay, backgroundoffset=2pt] \def\Bla{\starttextbackground[TG]FF FF XX XX XX XX XX XX SS CS CS% \stoptextbackground} \dorecurse{20}{bla \Bla\ bla} \stoptext Could anybody help please? TIA for any hints! Cheer, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________