mirror of
https://github.com/samba-team/samba.git
synced 2025-01-17 02:05:21 +03:00
Fix image scaling issues.
This commit is contained in:
parent
75faf6c3ae
commit
c5d8761bc9
@ -116,11 +116,11 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="imagefile">
|
<xsl:template match="imagefile">
|
||||||
<xsl:text>\includegraphics[scale=.</xsl:text>
|
<xsl:text>\includegraphics[scale=</xsl:text>
|
||||||
<xsl:choose>
|
<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:choose>
|
||||||
<xsl:text>]{</xsl:text>
|
<xsl:text>]{</xsl:text>
|
||||||
<xsl:value-of select="$latex.imagebasedir"/><xsl:text>images/</xsl:text>
|
<xsl:value-of select="$latex.imagebasedir"/><xsl:text>images/</xsl:text>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user