| 1 | <?xml version='1.0' ?>
|
|---|
| 2 | <!-- ******************************************************************** -->
|
|---|
| 3 | <!-- Setting up common Docbook XSL customization parameters for HTML and -->
|
|---|
| 4 | <!-- FO. You need to inculde this file in the HTML and FO specific -->
|
|---|
| 5 | <!-- customization layer. -->
|
|---|
| 6 | <!-- ******************************************************************** -->
|
|---|
| 7 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 11 | <!-- Automatically calculate the section numbers and add it to the header -->
|
|---|
| 12 | <!-- of the section title. -->
|
|---|
| 13 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 14 | <xsl:param name="section.autolabel">1</xsl:param>
|
|---|
| 15 |
|
|---|
| 16 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 17 | <!-- Let the section labels start from the chapter number -->
|
|---|
| 18 | <!-- (Section 1.1, Section 1.2,... instead of Section 1, Section 2,...) -->
|
|---|
| 19 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 20 | <xsl:param name="section.label.includes.component.label">1</xsl:param>
|
|---|
| 21 |
|
|---|
| 22 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 23 | <!-- Specify where the title shows up in figure, example, table, etc. -->
|
|---|
| 24 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 25 | <xsl:param name="formal.title.placement">
|
|---|
| 26 | figure after
|
|---|
| 27 | example before
|
|---|
| 28 | equation after
|
|---|
| 29 | table after
|
|---|
| 30 | procedure after
|
|---|
| 31 | </xsl:param>
|
|---|
| 32 |
|
|---|
| 33 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 34 | <!-- Specify what will be appeared in table of content (toc) -->
|
|---|
| 35 | <!-- For example, 'book toc,title' means toc will be generated and also -->
|
|---|
| 36 | <!-- the title 'Table of Content' will be shown at the beginning of book. -->
|
|---|
| 37 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 38 | <xsl:param name="generate.toc">
|
|---|
| 39 | book toc,title
|
|---|
| 40 | chapter nop
|
|---|
| 41 | section nop
|
|---|
| 42 | appendix nop
|
|---|
| 43 | </xsl:param>
|
|---|
| 44 |
|
|---|
| 45 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 46 | <!-- In 'xref' just write out the chapter/section number and not include -->
|
|---|
| 47 | <!-- the their title. -->
|
|---|
| 48 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 49 | <xsl:param name="xref.with.number.and.title">0</xsl:param>
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 | </xsl:stylesheet>
|
|---|