- Fixed broken defaults for build-date parameters.
1 parent aced392 commit 208fa773ca339ab2453d5e200057fa6fe25dce99
nstanger authored on 4 Jul 2012
Showing 1 changed file
View
8
modules/build-date.xml
<xsl:choose>
<xsl:when test="( @style = 'footer' ) and ( /document/@auto-latex-build-date = 'no' )" />
<xsl:otherwise>
<xsl:call-template name="build-date-internal">
<xsl:with-param name="format" select="@format" />
<xsl:with-param name="style" select="@style" />
<xsl:with-param name="format" select="if ( @format ) then @format else 'short'" />
<xsl:with-param name="style" select="if ( @style ) then @style else 'inline'" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</common>
<common formats="/latex/xelatex/">
<xsl:call-template name="build-date-internal">
<xsl:with-param name="format" select="@format" />
<xsl:with-param name="style" select="@style" />
<xsl:with-param name="format" select="if ( @format ) then @format else 'short'" />
<xsl:with-param name="style" select="if ( @style ) then @style else 'inline'" />
</xsl:call-template>
</common>
</template>