svn commit: samba-docs r637 - in trunk/xslt: .
jelmer at samba.org
jelmer at samba.org
Mon Jun 13 22:26:01 GMT 2005
Author: jelmer
Date: 2005-06-13 22:26:00 +0000 (Mon, 13 Jun 2005)
New Revision: 637
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=637
Log:
Fix image scaling issues.
Modified:
trunk/xslt/latex.xsl
Changeset:
Modified: trunk/xslt/latex.xsl
===================================================================
--- trunk/xslt/latex.xsl 2005-06-13 20:25:32 UTC (rev 636)
+++ trunk/xslt/latex.xsl 2005-06-13 22:26:00 UTC (rev 637)
@@ -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>
More information about the samba-cvs
mailing list