|
|
f44acd |
diff -ruNp docbook-xsl-1.74.0.orig/fo/pagesetup.xsl docbook-xsl-1.74.0/fo/pagesetup.xsl
|
|
|
f44acd |
--- docbook-xsl-1.74.0.orig/fo/pagesetup.xsl 2008-06-01 23:36:39.000000000 +0200
|
|
|
f44acd |
+++ docbook-xsl-1.74.0/fo/pagesetup.xsl 2008-08-06 13:31:11.000000000 +0200
|
|
|
f44acd |
@@ -1697,45 +1697,99 @@
|
|
|
f44acd |
<xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
</xsl:call-template>
|
|
|
f44acd |
|
|
|
f44acd |
- <fo:table-column column-number="1">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
- <fo:table-column column-number="2">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
- <fo:table-column column-number="3">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="1">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="1">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="2">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="2">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="3">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="3">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">header</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
|
|
|
f44acd |
<fo:table-body>
|
|
|
f44acd |
<fo:table-row>
|
|
|
f44acd |
@@ -2021,45 +2066,99 @@
|
|
|
f44acd |
<xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
<xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
</xsl:call-template>
|
|
|
f44acd |
- <fo:table-column column-number="1">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
- <fo:table-column column-number="2">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
- <fo:table-column column-number="3">
|
|
|
f44acd |
- <xsl:attribute name="column-width">
|
|
|
f44acd |
- <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
- <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
- <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
- <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
- <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
- <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
- <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
- </xsl:call-template>
|
|
|
f44acd |
- <xsl:text>)</xsl:text>
|
|
|
f44acd |
- </xsl:attribute>
|
|
|
f44acd |
- </fo:table-column>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="1">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="1">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column1"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="2">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="2">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="2"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
+ <xsl:choose>
|
|
|
f44acd |
+ <xsl:when test="$passivetex.extensions != 0">
|
|
|
f44acd |
+ <fo:table-column column-number="3">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>%</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:when>
|
|
|
f44acd |
+ <xsl:otherwise>
|
|
|
f44acd |
+ <fo:table-column column-number="3">
|
|
|
f44acd |
+ <xsl:attribute name="column-width">
|
|
|
f44acd |
+ <xsl:text>proportional-column-width(</xsl:text>
|
|
|
f44acd |
+ <xsl:call-template name="header.footer.width">
|
|
|
f44acd |
+ <xsl:with-param name="location">footer</xsl:with-param>
|
|
|
f44acd |
+ <xsl:with-param name="position" select="$column3"/>
|
|
|
f44acd |
+ <xsl:with-param name="pageclass" select="$pageclass"/>
|
|
|
f44acd |
+ <xsl:with-param name="sequence" select="$sequence"/>
|
|
|
f44acd |
+ <xsl:with-param name="gentext-key" select="$gentext-key"/>
|
|
|
f44acd |
+ </xsl:call-template>
|
|
|
f44acd |
+ <xsl:text>)</xsl:text>
|
|
|
f44acd |
+ </xsl:attribute>
|
|
|
f44acd |
+ </fo:table-column>
|
|
|
f44acd |
+ </xsl:otherwise>
|
|
|
f44acd |
+ </xsl:choose>
|
|
|
f44acd |
|
|
|
f44acd |
<fo:table-body>
|
|
|
f44acd |
<fo:table-row>
|