[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Page breaks for programlisting elements
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In this case, about a week. Please test in snapshots: http://docbook.sourceforge.net/snapshots/ David On 08/23/2011 09:16 AM, mike 675 wrote: > > Thanks David. > How long does it usually take for a fix like this? > > > > David Cramer wrote: >> > Done: > https://sourceforge.net/tracker/?func=detail&aid=3396906&group_id=21935&atid=373747 > > David > > On 08/23/2011 07:04 AM, mike 675 wrote: >>>> >>>> I don't have an account at SourceForge. >>>> Could someone post a bug on this? >>>> >>>> >>>> Bob Stayton wrote: >>>>> >>>>> Hi Michael, >>>>> Support for the keep-together processing instruction on programlisting >>>>> should be >>>>> there, but on inspecting the code, I find that it is not. I consider >>>>> this >>>>> a bug, so >>>>> could you please submit a bug report to the DocBook SourceForge project >>>>> to >>>>> get this >>>>> fixed for the next release? It is supported on para, so you could try >>>>> putting the >>>>> programlisting inside a para that contains only the keep-together >>>>> processing >>>>> instruction and programlisting. >>>>> >>>>> A dbfo-need works if it precedes a block element. Unfortunately, they >>>>> do >>>>> not work >>>>> properly in FOP because it has not yet implemented all the properties >>>>> needed to make >>>>> it work. >>>>> >>>>> Bob Stayton >>>>> Sagehill Enterprises >>>>> bobs@sagehill.net >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "michael mclaughlin" <m_mclaug@yahoo.co.uk> >>>>> To: <docbook-apps@lists.oasis-open.org> >>>>> Sent: Saturday, August 20, 2011 1:51 AM >>>>> Subject: [docbook-apps] Page breaks for programlisting elements >>>>> >>>>> >>>>> Using FOP 1.0. Docbook XML -> FO -> PDF. >>>>> >>>>> Some of the page breaks for my programlistings look bad. They leave a >>>>> single orphan line at the bottom of the page. So the grey background box >>>>> splits over 2 >>>>> pages. >>>>> >>>>> I have tried the following FO processing instructions for the relevant >>>>> blocks, but they have no effect. >>>>> >>>>> <?dbfo keep-together="always" ?> (is this only for formal objects -- >>>>> tables, figures etc?) >>>>> >>>>> <?dbfo-need height="2in" ?> (this does not "push" the following block >>>>> on >>>>> to >>>>> the next page, as expected) >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >>>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >>>>> >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >>>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >>>>> >>>>> >>>>> >>>> > >> - --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOXO2LAAoJEMHeSXG7afUh9RAH/2hKGXCZTNNgijq90ZBfKOD8 bsJ8apk4/MS4LcZj7//kNUvnI9jvcKqKMOsWbBSzp8Vaw1Gmpw2xg2YkWmUxfnrN LZJleeeA05Zl2QkdMp4Ogxfy2fGSUVL8SqG0gr7PqTDk/otIYF3beBjs7JPYx3Wv o8lmz3zZRqj83BtM/xP4lbDFY6Xy26cEwvENb0nvATNI6bRaEZvQqxy9OrX6+1MN /Rj6sgDfErotFQmPfxXAjlaftkZ04Ig1HAvZS+eY9yeygQnFyLJHuK2dgNQA2Hii +A49dm2ZOpJFan0AX98EWs9C4aIXzJI9e8MRy3eEesXrt7TaG0XeKyH5NSLqtS8= =K04Q -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]