forked from dmoisset/os-implementation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhacking-html.xsl.in
32 lines (23 loc) · 1.2 KB
/
hacking-html.xsl.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<!-- The Makefile will substitute the real path to chunk.xsl here. -->
<xsl:import href="@HTML_XSL_STYLESHEET@"/>
<!-- This causes the stylesheet to put chapters in a single HTML file,
rather than putting individual sections into seperate files. -->
<xsl:variable name="chunk.section.depth">0</xsl:variable>
<!-- Generate all HTML in this directory. -->
<xsl:variable name="base.dir"></xsl:variable>
<!-- Enumerate sections and subsections. -->
<xsl:variable name="section.autolabel">2</xsl:variable>
<!-- Name the HTML files based on the id of the document elements. -->
<xsl:variable name="use.id.as.filename">1</xsl:variable>
<!-- Use graphics in admonitions -->
<xsl:variable name="admon.graphics">1</xsl:variable>
<!-- Admonition graphics are in the "figures" directory. -->
<xsl:variable name="admon.graphics.path">figures/</xsl:variable>
<!-- Just put chapters, sect1s, and sect2s in the TOC. -->
<xsl:variable name="toc.section.depth">2</xsl:variable>
</xsl:stylesheet>