Mercurial > hgbook
annotate stylesheets/html-single.xsl @ 792:72eab2497e12
Propagate cd595464fea9
Added a source for Solaris Mercurial binaries
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 18 Jun 2009 16:23:58 +0900 |
parents | 4e8f302ae313 |
children |
rev | line source |
---|---|
723
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
3 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
5 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
6 <xsl:param name="draft.mode" select="no"/> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
7 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
8 <!-- xsltproc can't support these extensions |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
9 <xsl:param name="use.extensions">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
10 <xsl:param name="callouts.extension">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
11 <xsl:param name="linenumbering.extension">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
12 <xsl:param name="tablecolumns.extension">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
13 <xsl:param name="textinsert.extension">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
14 --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
15 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
16 <xsl:param name="admon.graphics" select="1" /> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
17 <xsl:param name="admon.graphics.extension">.png</xsl:param> |
755
4e8f302ae313
According to en, images -> figs
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
18 <xsl:param name="admon.graphics.path">figs/</xsl:param> |
723
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
19 <xsl:param name="callout.graphics" select="1" /> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
20 <xsl:param name="callout.graphics.extension">.png</xsl:param> |
755
4e8f302ae313
According to en, images -> figs
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
21 <xsl:param name="callout.graphics.path">images/callouts/</xsl:param> |
723
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
22 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
23 <xsl:param name="section.autolabel" select="1" /> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
24 <xsl:param name="section.label.includes.component.label">1</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
25 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
26 <xsl:output method="html" encoding="utf-8" indent="yes"/> <!-- html only --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
27 <xsl:param name="use.id.as.filename">0</xsl:param> <!-- html only --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
28 <xsl:param name="chunk.section.depth">0</xsl:param> <!-- html only --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
29 <xsl:param name="chunker.output.indent">yes</xsl:param> <!-- html only --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
30 <xsl:param name="html.stylesheet">hgbook.css</xsl:param> <!-- html only --> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
31 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
32 </xsl:stylesheet> |