resulting latex image width variates depending of the width of the picture specified in mallard source
Closes #3500
This commit is contained in:
parent
2df9700d4f
commit
5b8ae40097
|
@ -176,8 +176,11 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|||
<xsl:when test="number(mal:media/@height) < 50">
|
||||
<xsl:text>[scale=0.5]</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="number(mal:media/@width) > 100">
|
||||
<xsl:text>[width=\textwidth,clip,keepaspectratio]</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>[width=.5\textwidth,height=7cm,clip,keepaspectratio]</xsl:text>
|
||||
<xsl:text>[width=\textwidth,height=7cm,clip,keepaspectratio]</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text>{</xsl:text>
|
||||
|
|
Reference in New Issue