Re: [docbook-apps] Long programlisting

2011-06-07 Thread davep
On 06/06/2011 07:57 PM, David Cramer wrote: For a long listing, keep-together.always is a problem. Sounds like the source of my issue David? Yes, but the default behavior will change the next time we do a release. I think that's an improvement. I think you can do: example ?dbfo

Re: [docbook-apps] Long programlisting

2011-06-07 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2011 01:40 AM, davep wrote: Why .within-column? I'd have thought .within-page would be more logical? Well, column and page are the same unless you do two-column output. If you're doing two column output, you would only need to use

Re: [docbook-apps] Long programlisting

2011-06-07 Thread davep
On 06/07/2011 01:11 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2011 01:40 AM, davep wrote: Why .within-column? I'd have thought .within-page would be more logical? Well, column and page are the same unless you do two-column output. If you're doing two

Re: [docbook-apps] Long programlisting

2011-06-06 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is the programlisting in an example? 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 http://www.sagehill.net/docbookxsl/PageBreaking.html

Re: [docbook-apps] Long programlisting

2011-06-06 Thread DeanNelson
Dave, To xinclude text files in programlisting: programlistingxi:include xmlns:xi=_http://www.w3.org/2001/XInclude_ (http://www.w3.org/2001/XInclude) href=MyFile.txt parse=text //programlisting And then make sure you have a something like this in your mod files: ?xml version=1.0

Re: [docbook-apps] Long programlisting

2011-06-06 Thread davep
On 06/06/2011 04:25 PM, deannel...@aol.com wrote: Dave, To xinclude text files in programlisting: programlistingxi:include xmlns:xi=http://www.w3.org/2001/XInclude;href=MyFile.txt parse=text //programlisting Yes, that's what I have... And then make sure you have a something like this in

Re: [docbook-apps] Long programlisting

2011-06-06 Thread davep
On 06/06/2011 03:49 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is the programlisting in anexample? Yes it is. If so, you can either change the default for examples or use?dbfo keep-together=auto?:

Re: [docbook-apps] Long programlisting

2011-06-06 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/06/2011 01:16 PM, davep wrote: On 06/06/2011 03:49 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is the programlisting in anexample? Yes it is. If so, you can either change the default for examples or use?dbfo