ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Yatskovsky <yatskovsky@gmail.com>,
	 mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mkiv update - section problem
Date: Tue, 21 Aug 2007 18:08:15 +0200	[thread overview]
Message-ID: <46CB0DEF.6070707@wxs.nl> (raw)
In-Reply-To: <865260737.20070821010137@gmail.com>

Vyatcheslav Yatskovsky wrote:
> Hello,
> 
> After updating I have the following problem. The first section sticks to contents. This effect was not present until update.
> 
> %engine=luatex
> \starttext
> \placecontent
> 
> \section{Background}
> 
> Bla-bla-bla
> 
> Bla-bla-bla
> 
> \section{Features Overview}
> 
> Bla-bla-bla
> \stoptext

seems that the collapser is too eager; you can test this with:

\ctxlua {
	callback.register('vpack_filter',     nil)
	callback.register('buildpage_filter', nil)
}

i fixed it, but this is one of the areas where testing is needed;

next on my agenda is to implement an extended vertical spacing model; 
actually it is already active, but we need a higher level interface, like:

\defineblank[mine][category=1,priority=5,skip=10pt,penalty=10000]

penalty
	largest wins
priority
	highest wins
categories
	discard
	only if larger
	force even if smaller,
	only take penalty component
	add to existing skip

by combining skips and penalties this mechanism provides much more 
control over page breaks

new zips uploaded

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2007-08-21 16:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1120.1187641385.2346.ntg-context@ntg.nl>
2007-08-20 22:01 ` Vyatcheslav Yatskovsky
2007-08-21 16:08   ` Hans Hagen [this message]
2007-08-21 21:14     ` Vyatcheslav Yatskovsky
     [not found]   ` <fe8d59da0708210708i4c78e35fsb7d934eb953c74d7@mail.gmail.com>
2007-08-21 18:18     ` luigi scarso
     [not found] <mailman.1142.1187720336.2346.ntg-context@ntg.nl>
2007-08-21 18:33 ` Vyatcheslav Yatskovsky
2007-08-21 20:51   ` Hans Hagen

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=46CB0DEF.6070707@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=yatskovsky@gmail.com \
    /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).