This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Docbook XSL 1. 50.0 verbatim templates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]