diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-02-03 01:05:03 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-02-03 01:05:03 +0000 |
commit | b050d971e109da7fa5e0d19917d96bde4a9e5069 (patch) | |
tree | 0e8f2b7bac42454b1149e47fe46e6dc1c515ed6a /manual/xsl | |
parent | dfc75e0561c4994c65d4893d107355a8d1db05b9 (diff) |
Add a css file so that the manual looks a bit better.
git-svn-id: svn://localhost/ardour2/trunk@1411 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'manual/xsl')
-rw-r--r-- | manual/xsl/html.xsl | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/manual/xsl/html.xsl b/manual/xsl/html.xsl new file mode 100644 index 0000000000..c456c747be --- /dev/null +++ b/manual/xsl/html.xsl @@ -0,0 +1,87 @@ + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl"/> +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk-common.xsl"/> +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk-code.xsl"/> +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/manifest.xsl"/> + +<xsl:param name="html.stylesheet" select="'ardour_manual.css'"/> +<xsl:param name="html.stylesheet.type" select="'text/css'"/> +<xsl:param name="html.cleanup" select="1"/> +<xsl:param name="html.ext" select="'.html'"/> +<xsl:output method="html" indent="yes"/> + +<!-- titles after all elements --> +<xsl:param name="formal.title.placement"> +figure after +example after +equation after +table after +procedure before +</xsl:param> + +<!-- This sets the filename based on the ID. --> +<xsl:param name="use.id.as.filename" select="'1'"/> + +<xsl:template match="command"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<xsl:template match="application"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guibutton"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guiicon"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guilabel"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guimenu"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guimenuitem"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guisubmenu"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="filename"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<!-- TOC --> +<xsl:param name="section.autolabel" select="1"/> +<xsl:param name="section.label.includes.component.label" select="1"/> +<xsl:param name="generate.legalnotice.link" select="1"/> +<xsl:param name="generate.revhistory.link" select="1"/> +<xsl:param name="generate.toc"> +set toc +book toc +article toc +chapter toc +qandadiv toc +qandaset toc +sect1 nop +sect2 nop +sect3 nop +sect4 nop +sect5 nop +section toc +part toc +</xsl:param> + +</xsl:stylesheet> |