1 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
2 |
version='1.0'> |
---|
3 |
|
---|
4 |
<!-- Use section numbering for 1 depth level in the document tree --> |
---|
5 |
<xsl:param name="section.autolabel" select="1"></xsl:param> |
---|
6 |
<xsl:param name="section.label.includes.component.label" select="1"></xsl:param> |
---|
7 |
|
---|
8 |
<!-- Causes variablelists to display like html dt, dl --> |
---|
9 |
<xsl:param name="variablelist.as.blocks" select="1"/> |
---|
10 |
|
---|
11 |
<!-- This allows tables and other block objects to wrap across multiple pages --> |
---|
12 |
<xsl:attribute-set name="formal.object.properties"> |
---|
13 |
<xsl:attribute name="keep-together.within-column">auto</xsl:attribute> |
---|
14 |
</xsl:attribute-set> |
---|
15 |
|
---|
16 |
<!-- Set left and right margins --> |
---|
17 |
<xsl:param name="page.margin.inner">1.0in</xsl:param> |
---|
18 |
<xsl:param name="page.margin.outer">1.0in</xsl:param> |
---|
19 |
|
---|
20 |
<!-- Don't indent the body text, as it wastes paper! --> |
---|
21 |
<xsl:param name="body.start.indent">0pt</xsl:param> |
---|
22 |
|
---|
23 |
<!-- Display URLs as footnotes, rather than inline --> |
---|
24 |
<xsl:param name="ulink.footnotes">1</xsl:param> |
---|
25 |
|
---|
26 |
<!-- Add some space above the revision history table --> |
---|
27 |
<xsl:attribute-set name="revhistory.table.properties"> |
---|
28 |
<xsl:attribute name="space-before.minimum">1em</xsl:attribute> |
---|
29 |
</xsl:attribute-set> |
---|
30 |
|
---|
31 |
<!-- Custom attribute set to indent revision history table cells --> |
---|
32 |
<xsl:attribute-set name="revhistory.revremark.table.cell.properties"> |
---|
33 |
<xsl:attribute name="padding-left">14pt</xsl:attribute> |
---|
34 |
<xsl:attribute name="padding-bottom">8pt</xsl:attribute> |
---|
35 |
</xsl:attribute-set> |
---|
36 |
|
---|
37 |
<!-- Make revision history header entries bold --> |
---|
38 |
<xsl:attribute-set name="revhistory.table.cell.properties"> |
---|
39 |
<xsl:attribute name="font-weight">bold</xsl:attribute> |
---|
40 |
<xsl:attribute name="font-size">14pt</xsl:attribute> |
---|
41 |
<xsl:attribute name="padding-bottom">8pt</xsl:attribute> |
---|
42 |
</xsl:attribute-set> |
---|
43 |
|
---|
44 |
<!-- Add support for revision history in its own appendix --> |
---|
45 |
<xsl:template match="appendix[@id='revhistory']/para"> |
---|
46 |
<xsl:apply-templates select="//revhistory" mode="titlepage.mode"/> |
---|
47 |
</xsl:template> |
---|
48 |
|
---|
49 |
|
---|
50 |
</xsl:stylesheet> |
---|