This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: How to keep information on one page?
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Kraa de Simon <Simon dot de dot Kraa at icl dot nl>
- Cc: docbook at lists dot oasis-open dot org
- Date: Wed, 20 Mar 2002 06:17:44 -0500
- Subject: DOCBOOK: Re: How to keep information on one page?
- References: <C1EBEEBBB842D411B4120000949A1F5802019F76@wwmessd135>
[ Follow-ups to docbook-apps, please ]
/ Kraa de Simon <Simon.de.Kraa@icl.nl> was heard to say:
| For some of the information it is important that it is displayed on one page
| (if possible).
|
| Something like:
|
| <try_to_keep_on_same_page>
| <para>These paragraphs</para>
| <para>must be</para>
| <para>displayed on one page</para>
| <para>if possible.</para>
| </try_to_keep_on_same_page>
|
| Is this possible?
Maybe. This is a presentation issue and it depends on the formatter
that you're using.
| Currently using docbkx412 and docbook-xsl-1.48.
You'll probably have to create a customization layer that puts
<fo:block keep-together="always">
...
</fo:block>
around the stuff you want to keep together. That should work, though
some FO processors may not support it. And, of course, if the stuff is longer
than a physical page, you'll probably get a page break anyway. :-)
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Note: you are currently using an
http://www.oasis-open.org/docbook/ | unregistered evaluation copy of
Chair, DocBook Technical Committee | your life. Register now for the
| full-featured version and cheat
| codes!