- Fixed row template so that the "\\" is omitted from the last row of a LaTeX
tabular environment.
1 parent 4c03b86 commit 966a7362ce2c1c7985367c245e808e3398b84d93
nstanger authored on 11 Jun 2012
Showing 1 changed file
View
6
modules/tabular.xml
-->
<template name="row" match="row">
<common formats="/latex/xelatex/">
<xsl:apply-templates />
<!-- TODO: Don't put a \\ on the last row of a tabular. -->
<xsl:text> \\</xsl:text>
<xsl:if test="not( position() = last() )">
<xsl:text> \\</xsl:text>
</xsl:if>
<xsl:if test="@no-page-break = 'yes'"><xsl:text>*</xsl:text></xsl:if>
<xsl:text> </xsl:text>
</common>
<common formats="/html/xhtml/">