summaryrefslogtreecommitdiff
path: root/asciidoc/resources/docbook-xsl/htmlhelp.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'asciidoc/resources/docbook-xsl/htmlhelp.xsl')
-rw-r--r--asciidoc/resources/docbook-xsl/htmlhelp.xsl28
1 files changed, 28 insertions, 0 deletions
diff --git a/asciidoc/resources/docbook-xsl/htmlhelp.xsl b/asciidoc/resources/docbook-xsl/htmlhelp.xsl
new file mode 100644
index 0000000..ef38fa4
--- /dev/null
+++ b/asciidoc/resources/docbook-xsl/htmlhelp.xsl
@@ -0,0 +1,28 @@
+<!--
+ Generates chunked HTML Help HTML documents from DocBook XML source using
+ DocBook XSL stylesheets.
+
+ NOTE: The URL reference to the current DocBook XSL stylesheets is
+ rewritten to point to the copy on the local disk drive by the XML catalog
+ rewrite directives so it doesn't need to go out to the Internet for the
+ stylesheets. This means you don't need to edit the <xsl:import> elements on
+ a machine by machine basis.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
+<xsl:import href="common.xsl"/>
+<xsl:param name="htmlhelp.hhp" select="'asciidoc.hhp'"/>
+<xsl:param name="suppress.navigation" select="1"/>
+
+<!-- Line break -->
+<xsl:template match="processing-instruction('asciidoc-br')">
+ <br/>
+</xsl:template>
+
+<!-- Horizontal ruler -->
+<xsl:template match="processing-instruction('asciidoc-hr')">
+ <hr/>
+</xsl:template>
+
+</xsl:stylesheet>