hgbook
diff stylesheets/html-single.xsl @ 655:65e9a18d2c7e
Shrink large images to fit page
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Mon Mar 30 17:36:57 2009 +0800 (2009-03-30) |
parents | 3c5e1c03cc3e |
children | 4e8f302ae313 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/stylesheets/html-single.xsl Mon Mar 30 17:36:57 2009 +0800 1.3 @@ -0,0 +1,30 @@ 1.4 +<?xml version="1.0"?> 1.5 +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> 1.6 + 1.7 + <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> 1.8 + 1.9 + <xsl:param name="draft.mode" select="no"/> 1.10 + 1.11 + <!-- xsltproc can't support these extensions 1.12 + <xsl:param name="use.extensions">1</xsl:param> 1.13 + <xsl:param name="callouts.extension">1</xsl:param> 1.14 + <xsl:param name="linenumbering.extension">1</xsl:param> 1.15 + <xsl:param name="tablecolumns.extension">1</xsl:param> 1.16 + <xsl:param name="textinsert.extension">1</xsl:param> 1.17 + --> 1.18 + 1.19 + <xsl:param name="admon.graphics" select="1" /> 1.20 + <xsl:param name="admon.graphics.extension">.png</xsl:param> 1.21 + <xsl:param name="callout.graphics" select="1" /> 1.22 + <xsl:param name="callout.graphics.extension">.png</xsl:param> 1.23 + 1.24 + <xsl:param name="section.autolabel" select="1" /> 1.25 + <xsl:param name="section.label.includes.component.label">1</xsl:param> 1.26 + 1.27 + <xsl:output method="html" encoding="utf-8" indent="yes"/> <!-- html only --> 1.28 + <xsl:param name="use.id.as.filename">0</xsl:param> <!-- html only --> 1.29 + <xsl:param name="chunk.section.depth">0</xsl:param> <!-- html only --> 1.30 + <xsl:param name="chunker.output.indent">yes</xsl:param> <!-- html only --> 1.31 + <xsl:param name="html.stylesheet">hgbook.css</xsl:param> <!-- html only --> 1.32 + 1.33 +</xsl:stylesheet>