This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Docbook XSL 1. 50.0 verbatim templates
- From: Rob Smith <rob dot smith at ifrsys dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 22 Mar 2002 12:41:41 +0000
- Subject: DOCBOOK-APPS: Docbook XSL 1. 50.0 verbatim templates
- Reply-to: rob dot smith at ifrsys dot com
Norm,
In previous version of the XSL stylesheets, the templates for verbatim
environments included an attribute text-align="start" on the fo:block
elements. In version 1.50.0 this attribute has disappeared, resulting in
verbatim text being fully justified (using FOP 0.20.3).
Was the intention to move the attribute to the "verbatim.properties"
attribute-set? (assuming it's not just a FOP bug)
A workround is to add this template to a driver stylesheet:
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="text-align">start</xsl:attribute><!-- inserted -->
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>
--
regards,
Rob Smith