[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SubSubSection's title to new page
From: |
Valeriy E. Ushakov |
Subject: |
Re: SubSubSection's title to new page |
Date: |
Mon, 26 Jun 2000 18:58:06 +0400 |
User-agent: |
Mutt/1.3.3i |
On Mon, Jun 26, 2000 at 15:14:32 +0300, Robert Butora wrote:
> r: Wouldn't be possible to ask for the _size_ of the next object
> following the title ? rather then conditioning by the font
> size. (This contains implicit assumption that text follows the
> title; however, Section can start with whatever Figure, Table
> etc...)
The catch, of course, is that the object following the title is empty.
A typical section starts with a gap, like @PP or @LP:
@Section
@Title { ... }
@Begin
@LP
# ....
@End @Section
and there's an implicit empty object preceding the gap:
@Begin
{} # <- implicit
//1.3vx # @LP
# ....
Perhaps you can make a local copy of 'dsf' and change
@LargeScaleStructure to be:
initiallanguage @Language {
@OneRow { # <---
@Heading
# ...
// intables @BeginTableCounter @ShortNum
} # <---
//0pu @Body # change gap
//innergap @IfMajor endifmajor innergap
// @Run NonStart
}
}
And then change @LP before the @Box at the start of your sections to
/1.3vxu to make the gap unbreakable (for some reason //1.3vxu is
breaked despite the 'u' flag).
You would definitely want to disable @OptimizePages, since page breaks
are so bad, that @OptimizePages only makes them even worse.
That's, admittedly, a hack, but that might work for you. At least it
works for your test document.
As a margin note: @PP @Box does not do what you expect, since the @Box
is the only object of the paragraph and it is pushed to the right for
paragraph indent. If you need an interparagraph gap - use @LP.
Hope this helps.
SY, Uwe
--
address@hidden | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen