summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-13 22:26:00 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:48 -0500
commit890c7669cfeb0d5a254458c492f138ca4c5994bc (patch)
tree1e0aa966177f98dbe78aa79842dd4ebb5d537b32
parent300b9cd394039a0937b63cd963d1b2f643ea1c49 (diff)
downloadsamba-890c7669cfeb0d5a254458c492f138ca4c5994bc.tar.gz
samba-890c7669cfeb0d5a254458c492f138ca4c5994bc.tar.bz2
samba-890c7669cfeb0d5a254458c492f138ca4c5994bc.zip
Fix image scaling issues.
(This used to be commit c5d8761bc98a41a2fc42c701f55097ebe24f56fd)
-rw-r--r--docs/xslt/latex.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl
index a5b731dc32..0abd611312 100644
--- a/docs/xslt/latex.xsl
+++ b/docs/xslt/latex.xsl
@@ -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>