OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC