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

Reply via email to