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:
parent
75faf6c3ae
commit
c5d8761bc9
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user