Brett Porter wrote:
Note that I had to comment out something that was failing (introduced here: http://www.mail-archive.com/dev@maven.apache.org/msg26870.html).

Wops, I forgot to include one patch for fo-styles.xslt in my recent submission (wonder why it worked for Arnaud?).

The patch is attached, it defines the missing attribute for <code style="indent"> tags and cleans up some layout issues with definition lists.

Cheers,
Lukas
--- fo-styles.xslt.orig	2005-06-15 15:54:24.552133040 +0000
+++ fo-styles.xslt	2005-06-03 18:13:21.000000000 +0000
@@ -41,6 +41,10 @@
     <xsl:attribute-set name="body.pre" use-attribute-sets="base.pre.style">
         <xsl:attribute name="font-size">10pt</xsl:attribute>
     </xsl:attribute-set>
+    <xsl:attribute-set name="code.indent" use-attribute-sets="body.pre">
+        <xsl:attribute name="start-indent">inherited-property-value(start-indent) + 1em</xsl:attribute>
+        <xsl:attribute name="end-indent">inherited-property-value(end-indent) + 1em</xsl:attribute>
+    </xsl:attribute-set>
     <xsl:attribute-set name="body.source" use-attribute-sets="base.pre.style">
         <xsl:attribute name="font-size">8pt</xsl:attribute>
         <xsl:attribute name="wrap-option">wrap</xsl:attribute>
@@ -162,10 +166,11 @@
     <xsl:attribute-set name="dt" use-attribute-sets="base.body.style">
         <xsl:attribute name="start-indent">1em</xsl:attribute>
         <xsl:attribute name="end-indent">1em</xsl:attribute>
+        <xsl:attribute name="font-weight">bold</xsl:attribute>
     </xsl:attribute-set>
     <xsl:attribute-set name="dd" use-attribute-sets="base.body.style">
-        <xsl:attribute name="start-indent">1em</xsl:attribute>
-        <xsl:attribute name="end-indent">1em</xsl:attribute>
+        <xsl:attribute name="start-indent">inherited-property-value(start-indent) + 1em</xsl:attribute>
+        <xsl:attribute name="end-indent">inherited-property-value(end-indent) + 1em</xsl:attribute>
         <xsl:attribute name="space-before">0.6em</xsl:attribute>
         <xsl:attribute name="space-after">0.6em</xsl:attribute>
     </xsl:attribute-set>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to