hgbook
annotate stylesheets/html.xsl @ 791:bf84d6b2281c
Minor changes and translation of code snippets for Ch.7.
author | Giulio@puck |
---|---|
date | Tue Aug 11 23:01:30 2009 +0200 (2009-08-11) |
parents | 1a3d882149fd |
children |
rev | line source |
---|---|
dongsheng@624 | 1 <?xml version="1.0"?> |
dongsheng@624 | 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> |
dongsheng@624 | 3 |
dongsheng@624 | 4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/> |
dongsheng@624 | 5 |
dongsheng@624 | 6 <xsl:param name="draft.mode" select="no"/> |
dongsheng@624 | 7 |
dongsheng@624 | 8 <!-- xsltproc can't support these extensions |
dongsheng@624 | 9 <xsl:param name="use.extensions">1</xsl:param> |
dongsheng@624 | 10 <xsl:param name="callouts.extension">1</xsl:param> |
dongsheng@624 | 11 <xsl:param name="linenumbering.extension">1</xsl:param> |
dongsheng@624 | 12 <xsl:param name="tablecolumns.extension">1</xsl:param> |
dongsheng@624 | 13 <xsl:param name="textinsert.extension">1</xsl:param> |
dongsheng@624 | 14 --> |
dongsheng@624 | 15 |
dongsheng@624 | 16 <xsl:param name="admon.graphics" select="1" /> |
dongsheng@624 | 17 <xsl:param name="admon.graphics.extension">.png</xsl:param> |
dongsheng@656 | 18 <xsl:param name="admon.graphics.path">figs/</xsl:param> |
dongsheng@624 | 19 <xsl:param name="callout.graphics" select="1" /> |
dongsheng@624 | 20 <xsl:param name="callout.graphics.extension">.png</xsl:param> |
dongsheng@656 | 21 <xsl:param name="callout.graphics.path">images/callouts/</xsl:param> |
dongsheng@624 | 22 |
dongsheng@624 | 23 <xsl:param name="section.autolabel" select="1" /> |
dongsheng@624 | 24 <xsl:param name="section.label.includes.component.label">1</xsl:param> |
dongsheng@624 | 25 |
dongsheng@624 | 26 <xsl:output method="html" encoding="utf-8" indent="yes"/> <!-- html only --> |
dongsheng@639 | 27 <xsl:param name="chunker.output.encoding" select="'utf-8'"/> <!-- html only --> |
dongsheng@639 | 28 <xsl:param name="chunker.output.indent" select="'yes'"/> <!-- html only --> |
dongsheng@624 | 29 <xsl:param name="use.id.as.filename">0</xsl:param> <!-- html only --> |
dongsheng@624 | 30 <xsl:param name="chunk.section.depth">0</xsl:param> <!-- html only --> |
dongsheng@624 | 31 <xsl:param name="chunker.output.indent">yes</xsl:param> <!-- html only --> |
dongsheng@624 | 32 <xsl:param name="html.stylesheet">hgbook.css</xsl:param> <!-- html only --> |
dongsheng@624 | 33 |
dongsheng@624 | 34 </xsl:stylesheet> |