svn commit: r42269 - projects/db5/share/xsl
Gabor Kovesdan
gabor at FreeBSD.org
Sat Jul 13 07:39:53 UTC 2013
Author: gabor
Date: Sat Jul 13 07:39:52 2013
New Revision: 42269
URL: http://svnweb.freebsd.org/changeset/doc/42269
Log:
- 400px width and a proportional height looks like a good default
for most images but some will need more exact parameters on
an individual basis
Modified:
projects/db5/share/xsl/freebsd-fo.xsl
Modified: projects/db5/share/xsl/freebsd-fo.xsl
==============================================================================
--- projects/db5/share/xsl/freebsd-fo.xsl Sat Jul 13 07:02:57 2013 (r42268)
+++ projects/db5/share/xsl/freebsd-fo.xsl Sat Jul 13 07:39:52 2013 (r42269)
@@ -31,8 +31,10 @@
<xsl:param name="callout.graphics.path">imagelib/callouts/</xsl:param>
<xsl:param name="callout.graphics.extension">.png</xsl:param>
- <xsl:param name="default.image.width">400</xsl:param>
+ <!-- Use the whole viewport and scale images to fit -->
+ <xsl:param name="default.image.width">400px</xsl:param>
+ <xsl:template name="image.scalefit">1</xsl:template>
<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"/>
More information about the svn-doc-projects
mailing list