From: Alexey Neyman Date: Sat, 19 Oct 2013 00:45:49 +0000 (+0000) Subject: Replace literal space inserted next to fo:leader in ToC with a padding. This X-Git-Tag: release/1.79.1~6^2~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf6d280af4cc5914100c95e675255c1c56d84bda;p=docbook-dsssl Replace literal space inserted next to fo:leader in ToC with a padding. This works around a bug in FOP (see FOP-1444). Make ToC fo:leader properties configurable via attribute set. --- diff --git a/xsl/fo/autotoc.xsl b/xsl/fo/autotoc.xsl index 45c63c4fc..543cc139e 100644 --- a/xsl/fo/autotoc.xsl +++ b/xsl/fo/autotoc.xsl @@ -207,12 +207,7 @@ - - - + @@ -357,12 +352,7 @@ - - - + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 43f3d615d..c8eb6b699 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -214,6 +214,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 89501faaa..8bdd9ce9b 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -86,6 +86,7 @@ $Id$ &toc.max.depth; &toc.indent.width; &toc.line.properties; +&toc.leader.properties; &toc.margin.properties; &bridgehead.in.toc; &simplesect.in.toc; @@ -893,6 +894,7 @@ around all these parameters. + diff --git a/xsl/fo/toc.xsl b/xsl/fo/toc.xsl index 8ca82330e..287e2bf9a 100644 --- a/xsl/fo/toc.xsl +++ b/xsl/fo/toc.xsl @@ -188,10 +188,7 @@ - - - + @@ -206,21 +203,10 @@ - - - + - - - - - - - diff --git a/xsl/params/toc.leader.properties.xml b/xsl/params/toc.leader.properties.xml new file mode 100644 index 000000000..94213f14c --- /dev/null +++ b/xsl/params/toc.leader.properties.xml @@ -0,0 +1,31 @@ + + +toc.leader.properties +attribute set + + +toc.leader.properties +How the leaders (rows of dots) are going to look like in ToC? + + + + + + dots + 3pt + reference-area + 3pt + 3pt + + + +Description +Specify leader pattern, + + +