1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

Fix image scaling issues.

This commit is contained in:
Jelmer Vernooij 2005-06-13 22:26:00 +00:00 committed by Gerald W. Carter
parent 75faf6c3ae
commit c5d8761bc9

View File

@ -116,11 +116,11 @@
</xsl:template>
<xsl:template match="imagefile">
<xsl:text>\includegraphics[scale=.</xsl:text>
<xsl:text>\includegraphics[scale=</xsl:text>
<xsl:choose>
<xsl:when test="@scale != ''"><xsl:value-of select="@scale"/></xsl:when>
<xsl:when test="@scale != ''"><xsl:value-of select="@scale div 100"/></xsl:when>
<xsl:otherwise><xsl:text>50</xsl:text></xsl:otherwise>
<xsl:otherwise><xsl:text>.50</xsl:text></xsl:otherwise>
</xsl:choose>
<xsl:text>]{</xsl:text>
<xsl:value-of select="$latex.imagebasedir"/><xsl:text>images/</xsl:text>