ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: Page breaking problem
Date: Tue, 20 Jun 2006 21:46:40 +0200	[thread overview]
Message-ID: <optbgmj2cr9niby6@localhost> (raw)
In-Reply-To: <4497B80F.5020602@wxs.nl>

On Tue, 20 Jun 2006 10:55:43 +0200, Hans Hagen <pragma@wxs.nl> wrote:

> nico wrote:
>>
>> Hi Hans, since textbackground seems now the default background feature  
>> to
>> use, do you plan to fix the textbackground overlapping trouble i  
>> submitted
>> some time ago?
>>
> remind me what it was ...

In the case of mail [1] textbackground overlapped bottom footnote texts or  
top floats if the backgrounded stuff covered two pages.

You suggested to use \chardef\kindofpagetextareas\plusone to prevent from  
this behaviour. Using this setting fixed it, but introduced some kind of  
vertical stretchiness failure so that page text can overlap a bottom  
footnote text as shown in the case of mail [2].

So, both textbackground/page modes have their limitation that makes  
textbackground use not satisfying. So, it would be great if it could be  
fixed.

I haven't installed the latest context release yet, but there's the same  
behaviour with context live.

Thanks,
BG

[1]:  
http://archive.contextgarden.net/message/20060523.101005.80b07059.en.html

The test case:

\definecolor[ScreenGray][s=.95]
\definetextbackground[grayback]
      [background=color,
       backgroundcolor=ScreenGray,
       frame=on,
       strut=yes,
       width=broad,
       location=paragraph,
       framecolor=ScreenGray,
       leftoffset=\topskipgap,
       before=\blank,
       after=\blank,
       align=right]

\starttext

A footnote\footnote{Covered by the background, right?}.
\input tufte
\input tufte
\input tufte
\input tufte

\starttextbackground[grayback]
\input tufte
\stoptextbackground

\stoptext

[2]:  
http://archive.contextgarden.net/message/20060524.162941.8a054666.en.html

The test case:

\chardef\kindofpagetextareas\plusone
\setupcolors[state=start]
\setupwhitespace[medium]

% needed to activate the buggy stuff...
\definetextbackground[listing][background=color]

\starttext

\input tufte\footnote{A footnote}

blah

blah

blah

blah

blah

\section{Section}
\input tufte

blah

blah

\startitemize
\item a
\item a
\item a
\item a
\item a
\item a
\stopitemize

\stoptext

      reply	other threads:[~2006-06-20 19:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  9:39 Helin Gai
2006-06-19 10:20 ` Hans Hagen
2006-06-19 10:45   ` Helin Gai
2006-06-19 18:51     ` nico
2006-06-19 23:28       ` Helin Gai
2006-06-19 19:05   ` nico
2006-06-20  8:55     ` Hans Hagen
2006-06-20 19:46       ` nico [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=optbgmj2cr9niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).