Mercurial > hgbook
annotate stylesheets/html-single.xsl @ 742:61ac4138e086
Update Chinese translation
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Tue, 17 Mar 2009 16:25:30 +0800 |
parents | bae6d1503482 |
children | 4e8f302ae313 |
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> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
18 <xsl:param name="callout.graphics" select="1" /> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
19 <xsl:param name="callout.graphics.extension">.png</xsl:param> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
20 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
21 <xsl:param name="section.autolabel" select="1" /> |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
22 <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
|
23 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
24 <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
|
25 <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
|
26 <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
|
27 <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
|
28 <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
|
29 |
3c5e1c03cc3e
Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff
changeset
|
30 </xsl:stylesheet> |