From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88039 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context Subject: textbackground inside itemize Date: Tue, 8 Jul 2014 22:55:55 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1873095882==" X-Trace: ger.gmane.org 1404878187 25760 80.91.229.3 (9 Jul 2014 03:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 03:56:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 09 05:56:23 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X4izW-0003TO-LE for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jul 2014 05:56:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCFBA102EB for ; Wed, 9 Jul 2014 05:56:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8gHsbMZRuZbO for ; Wed, 9 Jul 2014 05:56:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E312010225 for ; Wed, 9 Jul 2014 05:56:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F0EB101E9 for ; Wed, 9 Jul 2014 05:56:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZIuto9rHLpYj for ; Wed, 9 Jul 2014 05:56:02 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id C5E48101E3 for ; Wed, 9 Jul 2014 05:55:57 +0200 (CEST) Original-Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s693trwG024839 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 9 Jul 2014 05:55:54 +0200 Original-Received: by mail-ve0-f176.google.com with SMTP id us18so2015156veb.21 for ; Tue, 08 Jul 2014 20:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vFSHrXUdKs+S0w79kRjf2HxbE/8Kihos5IRbZseEoW8=; b=XKSqFSypkcnFXiql2Akf/J7UG5+APvY2q9NcWAkKr0xnsh1zGjzwFVOkL8KmILmtic H+4MvJLUYuR9lsWKjooBPcOsqfhOGcZywrZoLe4MAm/ayc7xQsvt21/gv/1KGAAQg/79 IY/B5N3j988iCF4bLNoNcClq5ioTer/k7SqHCisXPvjm8POyrIXznUG2dccsTABJCIlH UruHw47q/Y9d3bMH4VejaxFG9JPTe9yDG8mvKqs7LkRiRSsP/3S8RSgyGvwB+eJchekB EpYurh0KRMCZGMkNrJ9Mtv6xzh4kwRt4bo7Z/Fi/32RsKnQIB7/WYXvGEJROIBLcFCOL DibA== X-Received: by 10.220.81.194 with SMTP id y2mr22172152vck.29.1404878155658; Tue, 08 Jul 2014 20:55:55 -0700 (PDT) Original-Received: by 10.58.237.201 with HTTP; Tue, 8 Jul 2014 20:55:55 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c01::230; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Mo3TScq - f943b7726990 - 20140709 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88039 Archived-At: --===============1873095882== Content-Type: multipart/alternative; boundary=001a11c2d8606bbd5c04fdbaafd0 --001a11c2d8606bbd5c04fdbaafd0 Content-Type: text/plain; charset=UTF-8 The following code produces a textbackground whose background color enters into the "itemize label" area on the second (and succeeding) lines of the paragraph. I would appreciate advice on fixing this. Thanks, Troy Henderson --- \setuppapersize[letter,landscape][letter,landscape] \definetextbackground[foo][ state=start, location=paragraph, background=color, backgroundcolor={0.875,0.875,0.875}, frame=off ] \starttext \startcolumns[n=2,rule=on] \startitemize[n,2*broad] \item Here is my first item \starttextbackground[foo] Here is some long text that demonstrates how the background color is wrong on the second line and all successive lines of this paragraph. \stoptextbackground \item Here is my second item \stopitemize \stopcolumns \stoptext --001a11c2d8606bbd5c04fdbaafd0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The following code produces a textbackground whose backgro= und color enters into the "itemize label" area on the second (and= succeeding) lines of the paragraph.=C2=A0 I would appreciate advice on fix= ing this.

Thanks,

Troy Henderson

---

\setuppapersize[letter,= landscape][letter,landscape]

\definetextbackground[foo][
=C2=A0= =C2=A0=C2=A0 state=3Dstart,
=C2=A0=C2=A0=C2=A0 location=3Dparagraph,
= =C2=A0=C2=A0=C2=A0 background=3Dcolor,
=C2=A0=C2=A0=C2=A0 backgroundcolo= r=3D{0.875,0.875,0.875},
=C2=A0=C2=A0=C2=A0 frame=3Doff
]

\starttext
=C2=A0=C2=A0=C2=A0= \startcolumns[n=3D2,rule=3Don]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \s= tartitemize[n,2*broad]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 \item Here is my first item
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \starttextbackground[foo]
=C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 Here is some long text that demonstrates how the backgro= und color is wrong on the second line and all successive lines of this para= graph.
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= \stoptextbackground
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 \item Here is my second item
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 \stopitemize
=C2=A0=C2=A0=C2=A0 \stopcolumns
\stoptext
--001a11c2d8606bbd5c04fdbaafd0-- --===============1873095882== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1873095882==--