diff options
author | Tom Rhodes <trhodes@FreeBSD.org> | 2003-01-03 05:06:14 +0000 |
---|---|---|
committer | Tom Rhodes <trhodes@FreeBSD.org> | 2003-01-03 05:06:14 +0000 |
commit | 2139c3a789bdab3de15ea838f3297a86ec08e887 (patch) | |
tree | 7cfaf45110982e71a97914202dfdd381a723f610 /share/xsl | |
parent | 5a7e615440940cf2e864ca5528ed7e2b7b1c5d54 (diff) |
Notes
Diffstat (limited to 'share/xsl')
-rw-r--r-- | share/xsl/freebsd-common.xsl | 21 | ||||
-rw-r--r-- | share/xsl/freebsd-fo.xsl | 31 | ||||
-rw-r--r-- | share/xsl/freebsd-html-chunk.xsl | 17 | ||||
-rw-r--r-- | share/xsl/freebsd-html.xsl | 35 |
4 files changed, 104 insertions, 0 deletions
diff --git a/share/xsl/freebsd-common.xsl b/share/xsl/freebsd-common.xsl new file mode 100644 index 0000000000..0554a8922e --- /dev/null +++ b/share/xsl/freebsd-common.xsl @@ -0,0 +1,21 @@ +<?xml version='1.0'?> + +<!-- $FreeBSD$ --> + +<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"> + + <!-- Global customisation --> + + <!-- Redefine variables, and replace templates as necessary here --> + <xsl:template match="hostid|username|groupname|devicename|maketarget|makevar"> + <xsl:call-template name="inline.monoseq"/> + </xsl:template> + + <xsl:param name="toc.section.depth" select="1"/> + <xsl:param name="section.autolabel" select="1"/> + <xsl:param name="section.label.includes.component.label" select="1"/> + +</xsl:stylesheet> diff --git a/share/xsl/freebsd-fo.xsl b/share/xsl/freebsd-fo.xsl new file mode 100644 index 0000000000..6731261a3e --- /dev/null +++ b/share/xsl/freebsd-fo.xsl @@ -0,0 +1,31 @@ +<?xml version='1.0'?> + +<!-- $FreeBSD$ --> + +<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"> + + <!-- Pull in the base stylesheets --> + <xsl:import href="/usr/local/share/xsl/docbook/fo/docbook.xsl"/> + + <!-- Redefine variables, and replace templates as necessary here --> + + <xsl:param name="freebsd.output.print" + select="'0'"/> + <xsl:param name="freebsd.output.print.pdf" + select="'0'"/> + <xsl:param name="freebsd.output.print.justify" + select="'0'"/> + <xsl:param name="freebsd.output.print.twoside" + select="'0'"/> + + <!-- Include the common stylesheets --> + + <xsl:include href="freebsd-common.xsl"/> + + <!-- FO specific customisation goes here --> + +</xsl:stylesheet> + diff --git a/share/xsl/freebsd-html-chunk.xsl b/share/xsl/freebsd-html-chunk.xsl new file mode 100644 index 0000000000..b274add9d5 --- /dev/null +++ b/share/xsl/freebsd-html-chunk.xsl @@ -0,0 +1,17 @@ +<?xml version='1.0'?> + +<!-- $FreeBSD$ --> + +<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"> + + <!-- Pull in the base stylesheets --> + <xsl:import href="/usr/local/share/xsl/docbook/html/chunk.xsl"/> + + <!-- Redefine variables, and replace templates as necessary here --> + + <xsl:include href="freebsd-common.xsl"/> +</xsl:stylesheet> + diff --git a/share/xsl/freebsd-html.xsl b/share/xsl/freebsd-html.xsl new file mode 100644 index 0000000000..f95f7aa1ca --- /dev/null +++ b/share/xsl/freebsd-html.xsl @@ -0,0 +1,35 @@ +<?xml version='1.0'?> + +<!-- $FreeBSD$ --> + +<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"> + + <!-- Pull in the base stylesheets --> + <xsl:import href="/usr/local/share/xsl/docbook/html/docbook.xsl"/> + + <!-- Redefine variables, and replace templates as necessary here --> + <xsl:param name="freebsd.output.html" select="'0'"/> + <xsl:param name="freebsd.output.html.images" select="'0'"/> + + <!-- HTML specific customisation goes here --> + + <xsl:param name="html.stylesheet" select="'docbook.css'"/> + <xsl:param name="user.id.as.filename" select="'1'"/> + <xsl:param name="generate.legalnotice.link" select="'1'"/> + <xsl:param name="link.mailto.url" select="'doc@FreeBSD.org'"/> + <xsl:param name="callout.graphics.path" select="'./imagelib/callouts/'"/> + + <xsl:template name="user.footer.content"> + <p align="center"><small>This, and other documents, can be downloaded + from <a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a></small></p> + + <p align="center"><small>For questions about FreeBSD, read the + <a href="http://www.FreeBSD.org/docs.html">documentation</a> before + contacting <<a href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>>.<br/> + For questions about this documentation, e-mail <<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p> + </xsl:template> +</xsl:stylesheet> + |