ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Removing inbreakable whitespace at pagebreaks
Date: Wed, 14 May 2008 08:35:34 +0200	[thread overview]
Message-ID: <115224fb0805132335j196ef295qe470db42477b2ee6@mail.gmail.com> (raw)

Hi,

I try to take care in my letter module to keep at least the last sentence
in the text the signature together on the same page, this did work but
I introduced another problem.

To get no linebreak between my two sections I used a nonbreakable
whitespace between both but my implementation has the side effect
to keep the whitespace also if there is no signature after the text even
if it the last vertical skip before the page break.

You can see in the following example what I mean.

\setuplayout[lines=10]\showgrid
\starttext
\blank[force,9*line]
text
\par\nobreak\blank[line]
\stoptext

The last line of text is moved to the second although it would fit on the
first page, I could use twopassdata in my module to get the information
if the \nobreak is needed on this place but I hope there is also a solution
to remove the skip in the first run, maybe for MkIV only.

I looked yesterday in the sources and saw \vspacing in core-spa.mkiv,
I dont't know what this should do and was unable to get it working but
I'm interested to know how it did work and what it should do.

Greetings
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2008-05-14  6:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  6:35 Wolfgang Schuster [this message]
2008-05-16 10:03 ` Taco Hoekwater
2008-05-16 10:17   ` Wolfgang Schuster

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=115224fb0805132335j196ef295qe470db42477b2ee6@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).