summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpknbe <pknbe>2009-08-12 19:37:33 +0000
committerpknbe <pknbe>2009-08-12 19:37:33 +0000
commit75c10dd2e36f5aba922ff1df2cef697ab068c01e (patch)
tree6cf30fa7bbca0b681676736f273231a0a47c486f /tools
parent52091dd04c26ed47f4e8ab189eb1e4d268401093 (diff)
downloadsylpheeddoc-doc-75c10dd2e36f5aba922ff1df2cef697ab068c01e.zip
sylpheeddoc-doc-75c10dd2e36f5aba922ff1df2cef697ab068c01e.tar.gz
sylpheeddoc-doc-75c10dd2e36f5aba922ff1df2cef697ab068c01e.tar.xz
Makefile: Add the 'faq_chunks.xsl' stylesheet. tools/faq_chunks.xsl: Add chunk stylesheet for FAQ.
Diffstat (limited to 'tools')
-rw-r--r--tools/faq_chunks.xsl76
1 files changed, 76 insertions, 0 deletions
diff --git a/tools/faq_chunks.xsl b/tools/faq_chunks.xsl
new file mode 100644
index 0000000..5b5abec
--- /dev/null
+++ b/tools/faq_chunks.xsl
@@ -0,0 +1,76 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+<!-- Import original style sheet: chunk.xsl (multi-page) or docbook.xsl (one page) -->
+
+ <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl"/>
+
+<!-- ******************************************************************
+ -
+ - Load the common customization for HTML:
+ -
+ - ******************************************************************
+ -->
+
+ <xsl:include href="user_guide_common.xsl"/>
+ <!-- xsl:include href="faq_common.xsl"/ -->
+ <!-- xsl:include href="html_titlepage.xsl"/ -->
+
+ <xsl:param name="page.margin.top">10in</xsl:param>
+ <xsl:param name="page.margin.bottom">10in</xsl:param>
+ <xsl:param name="page.margin.inner">10in</xsl:param>
+ <xsl:param name="page.margin.outer">10in</xsl:param>
+
+ <xsl:param name="generate.legalnotice.link" select="0"/>
+
+<!-- ******************************************************************
+ -
+ - Chunks specific customization:
+ -
+ - ******************************************************************
+ -->
+
+<!-- Generate a message for each chunked file -->
+
+<xsl:param name="chunk.quietly" select="0"/>
+
+<!-- New top-level file name: index.html is reserved for the index -->
+
+<xsl:param name="root.filename" select="'sylpheed-faq'"/>
+
+<!-- Yes we use the chunker: splits the output into several files. -->
+
+<xsl:param name="using.chunker" select="0"/>
+
+<!-- Chunk only the first level of chapter/sections -->
+
+<xsl:param name="chunk.section.depth" select="0"/>
+
+<!-- Generate a separate chunk for the first element of each section -->
+
+<xsl:param name="chunk.first.sections" select="1"/>
+
+<!-- Do not use the ID as filename: they contain forbidden chars -->
+
+<xsl:param name="use.id.as.filename" select="'1'"/>
+
+<!-- Use the following extension for output files: .html -->
+
+<xsl:param name="html.ext" select="'.html'"/>
+
+<!-- Generate extra HEAD links for Mozilla -->
+
+<xsl:param name="html.extra.head.links" select="1"/>
+
+<!-- Do not use graphics in navigation headers/footers -->
+
+<xsl:param name="navig.graphics" select="0"/>
+<xsl:param name="navig.graphics.extension" select="'.png'"/>
+<xsl:param name="navig.graphics.path">images/</xsl:param>
+
+<!-- Show next and previous sections titles in nav bars -->
+
+<xsl:param name="navig.showtitles">1</xsl:param>
+
+</xsl:stylesheet>