]> granicus.if.org Git - docbook-dsssl/commitdiff
Revert change 9001 - the patch is probably useless and not necessary.
authorDaniel Leidert <dleidert@debian.org>
Wed, 11 May 2011 18:10:46 +0000 (18:10 +0000)
committerDaniel Leidert <dleidert@debian.org>
Wed, 11 May 2011 18:10:46 +0000 (18:10 +0000)
xsl/fo/lists.xsl

index 6b30df8f52d81b1ad945a32cfd6857bcc3e3e9be..8153c1ca2741497a166eea33b0f77fdf74ce107d 100644 (file)
 <xsl:template match="segmentedlist" mode="seglist-table">
   <xsl:apply-templates select="title" mode="list.title.mode" />
   <fo:table table-layout="fixed">
-    <xsl:call-template name="segmentedlist.table.columns">
-      <xsl:with-param name="cols" select="count(segtitle)"/>
-    </xsl:call-template>
+    <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
     <fo:table-header start-indent="0pt" end-indent="0pt">
       <fo:table-row>
         <xsl:apply-templates select="segtitle" mode="seglist-table"/>
   </fo:table>
 </xsl:template>
 
-<xsl:template name="segmentedlist.table.columns">
-  <xsl:param name="cols" select="1"/>
-  <xsl:param name="curcol" select="1"/>
-
-  <fo:table-column column-number="{$curcol}"
-                   column-width="proportional-column-width(1)"/>
-  <xsl:if test="$curcol &lt; $cols">
-    <xsl:call-template name="segmentedlist.table.columns">
-      <xsl:with-param name="cols" select="$cols"/>
-      <xsl:with-param name="curcol" select="$curcol+1"/>
-    </xsl:call-template>
-  </xsl:if>
-</xsl:template>
-
 <xsl:template match="segtitle" mode="seglist-table">
   <fo:table-cell>
     <fo:block font-weight="bold">