← Prev in month ← Prev in thread

first <para> in <procedure><step> does not get "normal.para.spacing" attribute

From
Yasushi SHOJI <>
Date
2009-03-06T12:42:21+00:00
ID
Thread
first <para> in <procedure><step> does not get "normal.para.spacing" attribute
Hi list,

one of my colleagues found that the first <para> does not get
"normal.para.spacing" attribute in <procedure><step> when we convert
to fo. The reason seems to us that the first <para> is handled in

	env/xsl/docbook-xsl-1.73.2/fo/lists.xsl:309 

without use-attribute-set, but all other <para> is handled by

	env/xsl/docbook-xsl-1.73.2/fo/block.xsl:34 

this was same for 1.74.3, the latest we could get.

attached patch seems to fix the problem but we aren't sure that it is
the way to go.  please check.

best regards,
-- 
             yashi

diff -urN docbook-xsl-1.74.3_org/fo/lists.xsl docbook-xsl-1.74.3/fo/lists.xsl
--- docbook-xsl-1.74.3_org/fo/lists.xsl	2008-05-12 07:27:04.000000000 +0900
+++ docbook-xsl-1.74.3/fo/lists.xsl	2009-03-05 17:22:21.000000000 +0900
@@ -281,7 +281,7 @@
                                    local-name()='simpara' or 
                                    local-name()='formalpara']"
               priority="2">
-  <fo:block>
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
     <xsl:call-template name="anchor"/>
     <xsl:apply-templates/>
   </fo:block>
← Prev in month ← Prev in thread