ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Section alone on the page
Date: Tue, 20 Nov 2012 09:50:13 +0100	[thread overview]
Message-ID: <B600B7C4-5543-4AF5-A71B-359F946C90B0@gmail.com> (raw)
In-Reply-To: <50AB37B3.3080508@mmnetz.de>


Am 20.11.2012 um 08:56 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> I got this eMail, and copy it here, maybe someone understands what changed and caused this Bug.
> 
> ++++++++++++++++++
> 
> I looked at your not_so_short_example in ntg-context Digest, Vol 101, Issue 53,	18 November 2012,  and I found that your problem, the section title alone at the bottom of a page, occurs only in some versions of the ConTeXt standalone, not in others. That on TeXLive will be OK (it was on my installation) My recent version of ConTeXt (14-11-2012) was not OK but some older versions (from march and may this year and even as recent as october 28) do not give your problem. For he others, I tried to avoid the problem by adding  to your setup:
> 
> \clubpenalty=10000 % keine Schusterjungen / no clubs (from Ubuch)
> \widowpenalty=10000 % keine Hurenkinder / no widows
> 
> but that did not change anything, starngely enough.
> 
> Maybe you could ask Hans Hagen or Wolfgang Schuster to have a look at the code and find out what's wrong.
> I hope this helps a little for the time being.


It’s a problem with \blank which ignore the “samepage” keyword in grid mode.

When you process this example in normal mode “line 40” is moved to the second page but in grid mode it stays on the first page.

%\setuplayout[grid=yes]

\starttext
\dostepwiserecurse{1}{40}{1}{Line \recurselevel\par}
\blank[samepage,line]
\dostepwiserecurse{41}{50}{1}{Line \recurselevel\par}
\stoptext

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2012-11-20  8:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <456E86A0-2530-4158-B53D-837190B9A711@gmail.com>
2012-11-20  7:56 ` "H. Özoguz"
2012-11-20  8:50   ` Wolfgang Schuster [this message]
     [not found] <mailman.298.1353499840.2161.ntg-context@ntg.nl>
2012-11-21 12:20 ` "H. Özoguz"
     [not found] <mailman.1.1353409201.28148.ntg-context@ntg.nl>
2012-11-20 14:22 ` "H. Özoguz"
2012-11-21 12:01   ` Hans Hagen
2012-11-21 12:09     ` "H. Özoguz"
2012-11-21 13:40       ` Hans Hagen
2012-11-21 13:45         ` luigi scarso
2012-11-21 14:08         ` "H. Özoguz"
2012-11-21 22:23     ` Wolfgang Schuster
     [not found] <mailman.238.1353272332.2161.ntg-context@ntg.nl>
2012-11-18 22:12 ` "H. Özoguz"
2012-11-18 20:07 "H. Özoguz"
2012-11-18 20:20 ` Aditya Mahajan
2012-11-18 20:21 ` 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=B600B7C4-5543-4AF5-A71B-359F946C90B0@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).