[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Long programlisting
-----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 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? Yes, but the default behavior will change the next time we do a release. >> 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?] 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. David > > > Thanks David > > > > > regards > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJN7SMBAAoJEMHeSXG7afUhvhIH/RFNkLvekPo5j6DXB++ioWdL SeDmjg68Z5l10caCy5WDdKCxZLbjkpiSkNp3DRNVx5NFXAAmdH3/MEJsySXftU0j A4e/FnTH3K4j34g+9anlG48TBVJrOCukqsL/i9msYf8dqR4NDxSwWBrAOqmRnm5l YWoUDVMXtFh1KFN36KLvZ94/5GkMOqmPp9rY8ANrlk++yTKsEiZmLB8x91ffV2YU jGz/0bE4XJQepud2AFPpTyrxu/H2n3CWgfZuEm2YUHYFrA3UVLGmwHC/ECyxJuqT A2pO7Z5eyIIyUNA1wfQHbl9X5SkYMlxjamcCtBz5tBUSO1x2FusQVz+iIGD1kQo= =pdY6 -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]