summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authormishka <mishka@pkgsrc.org>2006-05-24 07:54:11 +0000
committermishka <mishka@pkgsrc.org>2006-05-24 07:54:11 +0000
commite98fbbeefbf8a348dc295cfd0883f4f9aee58fd5 (patch)
tree00f9d76e1e4023f0675f63f1f824b0481fea1979 /doc/guide
parent4eb45103db5c0955e464f278380ef9eba59752f9 (diff)
downloadpkgsrc-e98fbbeefbf8a348dc295cfd0883f4f9aee58fd5.tar.gz
Merge XSLTs from the NetBSD Guide:
- indent chunker output, - process single pkgsrc.html as HTML 4.01 Transitional document.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/share/default-html-chunk.xsl4
-rw-r--r--doc/guide/files/share/default-html.xsl5
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/guide/files/share/default-html-chunk.xsl b/doc/guide/files/share/default-html-chunk.xsl
index 43970010990..ccf04405432 100644
--- a/doc/guide/files/share/default-html-chunk.xsl
+++ b/doc/guide/files/share/default-html-chunk.xsl
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding="iso-8859-1"?>
-<!-- $NetBSD: default-html-chunk.xsl,v 1.2 2005/05/07 22:40:25 wiz Exp $ -->
+<!-- $NetBSD: default-html-chunk.xsl,v 1.3 2006/05/24 07:54:11 mishka Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
@@ -8,4 +8,6 @@
exclude-result-prefixes="#default">
<xsl:import href="http://www.NetBSD.org/XML/htdocs/share/xsl/netbsd-docbook-html-chunk.xsl" />
+
+ <xsl:param name="chunker.output.indent" select="'yes'"/>
</xsl:stylesheet>
diff --git a/doc/guide/files/share/default-html.xsl b/doc/guide/files/share/default-html.xsl
index f82f62f4ed8..662e143b559 100644
--- a/doc/guide/files/share/default-html.xsl
+++ b/doc/guide/files/share/default-html.xsl
@@ -1,6 +1,6 @@
<?xml version='1.0'?>
-<!-- $NetBSD: default-html.xsl,v 1.2 2005/05/07 22:40:25 wiz Exp $ -->
+<!-- $NetBSD: default-html.xsl,v 1.3 2006/05/24 07:54:11 mishka Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
@@ -8,4 +8,7 @@
exclude-result-prefixes="#default">
<xsl:import href="http://www.NetBSD.org/XML/htdocs/share/xsl/netbsd-docbook-html.xsl" />
+
+ <xsl:output method="html" indent="yes" encoding="ISO-8859-1"
+ doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
</xsl:stylesheet>