Re: [docbook-apps] Long programlisting

From
davep <>
Date
2011-06-06T18:16:52+00:00
ID
Thread
Re: [docbook-apps] Long programlisting
On 06/06/2011 03:49 PM, David Cramer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is the programlisting in an<example>?
Yes it is.

>   If so, you can either change the
> default for examples or use<?dbfo keep-together="auto"?>:
>
> http://lists.oasis-open.org/archives/docbook-apps/201103/msg00046.html
For a long listing, keep-together.always is a problem.
Sounds like the source of my issue David?


> http://www.sagehill.net/docbookxsl/PageBreaking.html
Sounds like a plan....
The example shows

<table>
   <title>My long table</title>
   *<?dbfo keep-together="auto" ?>*


how does that translate for example/programlisting?
within example, outside programlisting?
Seems about right.
[Is this a candidate for a param?]


Thanks David




regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk