From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3017 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \nobreak Date: Tue, 17 Oct 2000 23:35:29 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001017233529.01487800@pop.wxs.nl> References: <20001017220623.A4185@prioris.mini.pw.edu.pl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393780 13549 80.91.224.250 (23 Oct 2002 17:23:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:23:00 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Slawek Zak In-Reply-To: <20001017220623.A4185@prioris.mini.pw.edu.pl> Xref: main.gmane.org gmane.comp.tex.context:3017 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3017 At 10:06 PM 10/17/00 +0200, Slawek Zak wrote: >I tried to define my own sectioning command, like this: > > \setuphead[Section][style=cap,textcommand=\underbar,after=\nobreak] > >I don't know why, but after one of so defined `Sections' the page is >broken. Can I somehow prevent this? \setuphead[Section][section][....] you need a parent sectioning id, and: no \nobeak! ! ! since context already uses a weighted system of not breaking after headers [so that successive ones all move to the next page] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------