]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix indents for seealsoie so they are consistent.
authorBob Stayton <bobs@sagehill.net>
Thu, 12 Mar 2009 06:14:02 +0000 (06:14 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 12 Mar 2009 06:14:02 +0000 (06:14 +0000)
xsl/fo/index.xsl

index 4282aa04cd47376c3129a135765324818748275b..df3b9fb225021717913bf8c166b0caaf9c889d22 100644 (file)
   <fo:block>
     <xsl:attribute name="start-indent">
       <xsl:choose>
-        <xsl:when test="preceding-sibling::tertiaryie">3pc</xsl:when>
-        <xsl:when test="preceding-sibling::secondaryie">2pc</xsl:when>
+        <xsl:when test="(preceding-sibling::tertiaryie |
+                         preceding-sibling::secondaryie)[last()]
+                         [self::tertiaryie]">3pc</xsl:when>
+        <xsl:when test="(preceding-sibling::tertiaryie |
+                         preceding-sibling::secondaryie)[last()]
+                         [self::secondaryie]">2pc</xsl:when>
         <xsl:otherwise>1pc</xsl:otherwise>
       </xsl:choose>
     </xsl:attribute>