legi2pdf: do not depend on table of contents forcing a new page (#4076)

This commit is contained in:
Frédéric Péters 2013-12-16 09:58:41 +01:00
parent eea4bc937a
commit 5b9b47ff25
1 changed files with 2 additions and 2 deletions

View File

@ -402,9 +402,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<!-- Bottom of the page -->
<xsl:text>\vfill&#10;</xsl:text>
<xsl:text>\end{changemargin}&#10;</xsl:text>
<xsl:text>\newpage&#10;</xsl:text>
<xsl:if test="$with-toc">
<xsl:text>\newpage&#10;</xsl:text>
<xsl:text>\tableofcontents&#10;</xsl:text>
<xsl:text>\newpage&#10;</xsl:text>
<xsl:if test="(//table/title) and not($bqr)">
@ -639,9 +639,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</xsl:if>
<xsl:text>\end{changemargin}&#10;</xsl:text>
<xsl:text>\newpage&#10;</xsl:text>
<xsl:if test="$with-toc">
<xsl:text>\newpage&#10;</xsl:text>
<xsl:text>\tableofcontents&#10;</xsl:text>
<xsl:text>\newpage&#10;</xsl:text>
<xsl:if test="//table/title">