]> granicus.if.org Git - docbook-dsssl/commitdiff
Moved the end-indent properties from toc.line to the
authorBob Stayton <bobs@sagehill.net>
Thu, 1 Feb 2007 19:27:47 +0000 (19:27 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 1 Feb 2007 19:27:47 +0000 (19:27 +0000)
toc.line.properties attribute-set.

xsl/fo/autotoc.xsl
xsl/params/toc.line.properties.xml

index f58b6904ececf9530308b301080cf79a0aaf6c9e..e2bae9b1f3abaf20bec0ae7d321cbf06752ea81e 100644 (file)
     <xsl:apply-templates select="." mode="label.markup"/>
   </xsl:variable>
 
-  <fo:block xsl:use-attribute-sets="toc.line.properties"
-            end-indent="{$toc.indent.width}pt"
-            last-line-end-indent="-{$toc.indent.width}pt">
+  <fo:block xsl:use-attribute-sets="toc.line.properties">
     <fo:inline keep-with-next.within-line="always">
       <fo:basic-link internal-destination="{$id}">
         <xsl:if test="$label != ''">
index 0a8a61a9f7a55e3eaea23dca549f04fd26d58bc5..80de52917cb88ca6987c7e76ca6b6497e86ee86f 100644 (file)
 <xsl:attribute-set name="toc.line.properties">
   <xsl:attribute name="text-align-last">justify</xsl:attribute>
   <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="end-indent"><xsl:value-of
+                select="concat($toc.indent.width, 'pt')"/></xsl:attribute>
+  <xsl:attribute name="last-line-end-indent"><xsl:value-of
+                select="concat('-', $toc.indent.width, 'pt')"/></xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>