[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: refentry, man(nroff), & comments in lists
> * Bob Stayton <obof@fpb.pbz> [2003-11-07 10:08:26 -0800]:
>
>> is it possible to fix this bug?
>
> It is likely that the template for variablelist is explicitly
> selecting its children to process rather than just doing a general
> apply-templates. That selection probably only includes elements, not
> other node types like comment(). You need to find where it is
> selecting its content and make sure comment() is included. It looks
> like it might be in the template for variablelists in html/lists.xsl.
you mean something like this?
cd d:/gnu/cygwin/usr/share/docbook-xsl/fo/
diff -u -b -w -i -B "d:/gnu/cygwin/usr/share/docbook-xsl/fo/lists.xsl.old" "d:/gnu/cygwin/usr/share/docbook-xsl/fo/lists.xsl"
--- d:/gnu/cygwin/usr/share/docbook-xsl/fo/lists.xsl.old 2003-10-03 03:22:22.001000000 -0400
+++ d:/gnu/cygwin/usr/share/docbook-xsl/fo/lists.xsl 2003-11-07 21:55:53.485436800 -0500
@@ -330,7 +330,7 @@
"{$termlength}+{$label-separation}"
provisional-label-separation="{$label-separation}"
xsl:use-attribute-sets="list.block.spacing">
- <xsl:apply-templates select="varlistentry" mode="vl.as.list"/>
+ <xsl:apply-templates mode="vl.as.list"/>
</fo:list-block>
</xsl:template>
Diff finished at Fri Nov 07 21:55:54
why do the stylesheets do that at all - I mean, process only the list
elements, not comments &c?!
One would have to go through all the stylesheets for all the backends...
Who is the templates maintainer?
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Incorrect time syncronization.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]