From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86675 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Text background regression in 20140316 beta Date: Sun, 16 Mar 2014 17:37:01 -0400 Message-ID: <5326197D.9090204@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0546175291==" X-Trace: ger.gmane.org 1395005842 3465 80.91.229.3 (16 Mar 2014 21:37:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2014 21:37:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 16 22:37:33 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 1WPIkN-0004Bd-M9 for gctc-ntg-context-518@m.gmane.org; Sun, 16 Mar 2014 22:37:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E53F3101EC; Sun, 16 Mar 2014 22:37:30 +0100 (CET) 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 GGqFG3wXv3Xe; Sun, 16 Mar 2014 22:37:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 48FFC101E7; Sun, 16 Mar 2014 22:37:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D851101E7 for ; Sun, 16 Mar 2014 22:37:26 +0100 (CET) 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 N0Z6QsEXCQ94 for ; Sun, 16 Mar 2014 22:37:24 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 766BF101E1 for ; Sun, 16 Mar 2014 22:37:14 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2GLb6Zr031132 for ; Sun, 16 Mar 2014 22:37:07 +0100 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id EA3982E692 for ; Sun, 16 Mar 2014 17:37:05 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LClB7pM - 089e2819c186 - 20140316 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:86675 Archived-At: This is a multi-part message in MIME format. --===============0546175291== Content-Type: multipart/alternative; boundary="------------050701090105070604070104" This is a multi-part message in MIME format. --------------050701090105070604070104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hans and list, Previous to the 20140316 beta, we were able to prevent text backgrounds from bleeding over the footnote space with \chardef\kindofpagetextareas\plusone as you described in a 2008 list entry. While the problem it resolves is still there, the fix is now broken. The background on the following page is starts too far down the page (although it appears to have the proper depth). The following example demonstrates the problem. Sorry for its length. \setuppapersize[A6][A6] \definetextbackground[blockquotebackground] [ location=paragraph, background=color, backgroundcolor=gray, backgroundoffset=.25em, frame=off, ] \definedelimitedtext[BlockQuote] \setupdelimitedtext [BlockQuote] [ leftmargin=1pc, rightmargin=1pc, before={% \blank[halfline]% \startblockquotebackground% \setupindenting[next]% }, after={% \stopblockquotebackground% \blank[halfline]% }, ] \starttexdefinition startAttribution \setupnarrower[left=1pc] \startnarrower[left] \leavevmode\llap{{--\,}}% \stoptexdefinition \starttexdefinition stopAttribution \stopnarrower \stoptexdefinition %% The following prevents the background from overlaying %% footnotes. Found in a 2008 post, still not in the wiki. %% http://www.mail-archive.com/ntg-context%40ntg.nl/msg15681.html %% %% With the 20140316 beta, things have changed again. Now the %% problem without it is still there, but with it the background %% is misplaced on the second page of a two-page background. %% \chardef\kindofpagetextareas\plusone \starttext \startBlockQuote Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der Litteratur. Writing for money and reservation of copyright are, at bottom, the ruin of literature. \startAttribution Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber Schriftstellerei und Stil} {\em Parerga und Paralipomena} page 420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of Literature: A Series of Essays} page 3} \stopAttribution \stopBlockQuote Again. \startBlockQuote Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der Litteratur. Writing for money and reservation of copyright are, at bottom, the ruin of literature. \startAttribution Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber Schriftstellerei und Stil} {\em Parerga und Paralipomena} page 420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of Literature: A Series of Essays} page 3} \stopAttribution \stopBlockQuote Again. \startBlockQuote Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der Litteratur. Writing for money and reservation of copyright are, at bottom, the ruin of literature. \startAttribution \leavevmode\llap{{--\,}}% Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber Schriftstellerei und Stil} {\em Parerga und Paralipomena} page 420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of Literature: A Series of Essays} page 3} \stopAttribution \stopBlockQuote \stoptext --------------050701090105070604070104 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hans and list,

Previous to the 20140316 beta, we were able to prevent text backgrounds from bleeding over the footnote space with
\chardef\kindofpagetextareas\plusone
as you described in a 2008 list entry. While the problem it resolves is still there, the fix is now broken. The background on the following page is starts too far down the page (although it appears to have the proper depth).

The following example demonstrates the problem. Sorry for its length.

\setuppapersize[A6][A6]

\definetextbackground[blockquotebackground]
            [
              location=paragraph,
              background=color,
              backgroundcolor=gray,
              backgroundoffset=.25em,
              frame=off,
            ]

\definedelimitedtext[BlockQuote]
\setupdelimitedtext
  [BlockQuote]
  [
    leftmargin=1pc,
    rightmargin=1pc,
    before={%
             \blank[halfline]%
             \startblockquotebackground%
             \setupindenting[next]%
           },
    after={%
             \stopblockquotebackground%
             \blank[halfline]%
          },
  ]

\starttexdefinition startAttribution
  \setupnarrower[left=1pc]
  \startnarrower[left]
    \leavevmode\llap{{–\,}}%
\stoptexdefinition

\starttexdefinition stopAttribution
  \stopnarrower
\stoptexdefinition

%% The following prevents the background from overlaying
%%   footnotes. Found in a 2008 post, still not in the wiki.
%%   http://www.mail-archive.com/ntg-context%40ntg.nl/msg15681.html
%%
%% With the 20140316 beta, things have changed again. Now the
%%   problem without it is still there, but with it the background
%%   is misplaced on the second page of a two-page background.
%%
\chardef\kindofpagetextareas\plusone

\starttext

\startBlockQuote
  Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der
  Litteratur.

  Writing for money and reservation of copyright are, at bottom, the
  ruin of literature.

\startAttribution
  Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber
  Schriftstellerei und Stil} {\em Parerga und Paralipomena} page
  420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of
  Literature: A Series of Essays} page 3}
\stopAttribution
\stopBlockQuote

Again.

\startBlockQuote
  Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der
  Litteratur.

  Writing for money and reservation of copyright are, at bottom, the
  ruin of literature.

\startAttribution
  Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber
  Schriftstellerei und Stil} {\em Parerga und Paralipomena} page
  420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of
  Literature: A Series of Essays} page 3}
\stopAttribution
\stopBlockQuote

Again.

\startBlockQuote
  Honorar und Verbot des Nachdrucks sind im Grunde der Verderb der
  Litteratur.

  Writing for money and reservation of copyright are, at bottom, the
  ruin of literature.

\startAttribution
  \leavevmode\llap{{–\,}}%
  Arthur Schopenhauer, chapter {\sc xxiii} \quotation{Ueber
  Schriftstellerei und Stil} {\em Parerga und Paralipomena} page
  420\footnote{Translation by Thomas Bailey Saunders, {\em The Art of
  Literature: A Series of Essays} page 3}
\stopAttribution
\stopBlockQuote

\stoptext

--------------050701090105070604070104-- --===============0546175291== 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 ___________________________________________________________________________________ --===============0546175291==--