[NTG-context] Section alone on the page

Hans Hagen pragma at wxs.nl
Wed Nov 21 14:40:48 CET 2012

On 11/21/2012 1:09 PM, "H. Özoguz" wrote:
> Am 21.11.2012 13:01, schrieb Hans Hagen:
>> On 11/20/2012 3:22 PM, "H. Özoguz" wrote:
>>> Am 20.11.2012 12:00, schrieb ntg-context-request at ntg.nl:
>>>> 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.
>>> Is theat easy to fix or a long-term-todo? (Layouting books, I need
>>> gridding, indeed, at first that was my reason to start with context)
>> it will probably be improved over time, but interplay between skips an
>> penalties and such is always tricky; we have a weighted system in
>> place but even then ...
>> Hans
> Ok, so what are my alternatives for layouting big projects like books,
> with lots of sections?
> Of course I could always go through and manually add "\page", but that
> would be the worst-case, and possibily an origin for many mistakes.
> Is there any work-around or other possibilities for this? Downgrading to
> older versions of context is no alternative, because I need some
> modules, which need the newest version. And I can not layout with
> gridset=yes, too.
> I'm thinking of some script, which checks globally how the sections are
> set (like I can do it manually) and adds "\page" to the files before the
> section-commands or deletes the "\page", if it is not needed anymore.

adding before={\testpage[5]\blank} or so

                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list