[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Long programlisting
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 keep-together="auto" ?> > OR (better yet, since this will be the default in the future) add this > to your customization layer: > > <xsl:attribute-set name="example.properties" > use-attribute-sets="formal.object.properties"> > <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> > </xsl:attribute-set> > > And then use the PI to set it to always when you have a short example > that you want kept together. Why .within-column? I'd have thought .within-page would be more logical? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]