From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3025 Path: main.gmane.org!not-for-mail From: Slawek Zak Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \nobreak Date: Wed, 18 Oct 2000 18:51:58 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20001018185158.C42784@prioris.mini.pw.edu.pl> References: <20001017220623.A4185@prioris.mini.pw.edu.pl> <3.0.6.32.20001017233529.01487800@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035393789 13658 80.91.224.250 (23 Oct 2002 17:23:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:23:09 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <3.0.6.32.20001017233529.01487800@pop.wxs.nl> Xref: main.gmane.org gmane.comp.tex.context:3025 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3025 On Tue, Oct 17, 2000 at 11:35:29PM +0200, Hans Hagen wrote: > 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][....] Hmm. The above doesn't work. It's not mentioned in the manual, the english one, that \setuphead has 3 arguments and it seems not to have 3. Full definition of Section is now: \definehead[Section][subject] \setuphead[Section][style=cap,textcommand=\underbar] I use subject to avoid numbering (it's the same as section in other respects, right?), and to have subpages. If I change subject to section it's still the same (but the numbers of course). > 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] Great to hear that. Is the 3-argument setuphead available only in beta? /S