This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: prevent splitting of block elements?


Old email, but ...

Norman Walsh <ndw@nwalsh.com> writes:

> / Karlheinz Eckmeier 46372 <Karlheinz.Eckmeier.extern@ae3.hypo.de> was heard to say:
> | Is there a way to prevent the contents of certain block elements
> | (like <screen>) being split across page boundaries? In cases where the
> | elements contents doesn't fit on a page I would like the complete block
> | moved onto the next page. 
> 
> You could tinker with the definition of $verbatim-display$ to include the
> property
> 
>   keep: #t
> 
> Either always or perhaps if a specific role attribute value was used.
> 
> But I'm pessimistic about it, I seem to recall that JadeTeX has trouble
> with keeps. Anyone know for sure? Sebastian, are you out there :-)?

I think it does respect keeps -- I mean, I recall solving problems by
hacking in keep-with-next, although maybe that's another thing.  There
are definately remaining widow/orphan problems though -- I'm not sure
if that's JadeTeX bugs or stylesheet bugs.  Haven't had time to
research that.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]