docbook-apps

  • 1.  Example element isn't kept together

    Posted 10-13-2013 17:33
      |   view attached
    The attached docbook xml and xsl stylesheet exercise the keeping
    together of a docbook example element (as advertised in documentation).

    In this case, the example is not succesfully kept together when
    converting to PDF using xsltproc and fop1.1

    So what's wrong?

    Thanks in advance for any help,

    Erik Leunissen.

    Attachment(s)

    xml
    example.xml   1 KB 1 version


  • 2.  Re: [docbook-apps] Example element isn't kept together

    Posted 10-13-2013 23:58
    In the meantime I found that adding

    <xsl:attribute name="keep-together.within-column">always</xsl:attribute>

    to

    <xsl:attribute-set name="example.properties">
    ...
    </xsl:attribute-set>


    does what I want. It's just that I thought that that is default behaviour.


    Regards,

    Erik Leunissen.