[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] screen keep-together
> -----Original Message----- > From: Samuel Wright > > Is there a keep-together for the screen element, similar to tables, > figures, etc? You can add keep-together.within-column="always" to the monospace.verbatim.properties attribute-set. See http://www.sagehill.net/docbookxsl/ProgramListings.html and http://docbook.sourceforge.net/release/xsl/current/doc/fo/monospace.verbatim .properties.html. The attribute-set applies to literallayout, programlisting, screen, and synopsis. Use xsl:choose if you want the customization to apply to screen only: <xsl:attribute-set name="monospace.verbatim.properties"> <xsl:attribute name="keep-together.within-column"> <xsl:choose> <xsl:when test="self::screen">always</xsl:when> <xsl:otherwise>auto</xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:attribute-set> /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]