summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpknbe <pknbe>2009-08-30 22:35:25 +0000
committerpknbe <pknbe>2009-08-30 22:35:25 +0000
commit3dbb1509f4ce7e33122c6b578025ac331bc5b712 (patch)
tree161b664113bba6d5256766f896679748a6ffd463 /tools
parentdaeeba005cff99c87e901ce5de213f466d9f27c5 (diff)
downloadsylpheeddoc-doc-3dbb1509f4ce7e33122c6b578025ac331bc5b712.zip
sylpheeddoc-doc-3dbb1509f4ce7e33122c6b578025ac331bc5b712.tar.gz
sylpheeddoc-doc-3dbb1509f4ce7e33122c6b578025ac331bc5b712.tar.xz
tools/faq.css: Add the file with CSS decorations for FAQ.
tools/faq_chunks.xsl: Improve the HTML output. tools/user_guide_common.xsl: Ditto.
Diffstat (limited to 'tools')
-rw-r--r--tools/faq.css1
-rw-r--r--tools/faq_chunks.xsl19
-rwxr-xr-xtools/user_guide_common.xsl17
3 files changed, 29 insertions, 8 deletions
diff --git a/tools/faq.css b/tools/faq.css
new file mode 100644
index 0000000..18932d0
--- /dev/null
+++ b/tools/faq.css
@@ -0,0 +1 @@
+.question {font-size: 16px; font-weight: bold}
diff --git a/tools/faq_chunks.xsl b/tools/faq_chunks.xsl
index 5b5abec..05b1cff 100644
--- a/tools/faq_chunks.xsl
+++ b/tools/faq_chunks.xsl
@@ -1,4 +1,7 @@
<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY css SYSTEM "faq.css">
+]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
@@ -73,4 +76,20 @@
<xsl:param name="navig.showtitles">1</xsl:param>
+<!-- Auto label qandadiv -->
+
+<xsl:param name="qandadiv.autolabel" select="1"></xsl:param>
+
+<!-- Add CSS stylesheet content to the HTML header -->
+
+<xsl:template name="user.head.content">
+<style type="text/css">
+&css;
+</style>
+</xsl:template>
+
+<!-- Nice HTML output -->
+
+<xsl:param name="chunker.output.indent">yes</xsl:param>
+
</xsl:stylesheet>
diff --git a/tools/user_guide_common.xsl b/tools/user_guide_common.xsl
index 50a1a69..daf67b0 100755
--- a/tools/user_guide_common.xsl
+++ b/tools/user_guide_common.xsl
@@ -30,21 +30,17 @@
<xsl:param name="insert.xref.page.number">1</xsl:param>
-
<!-- =================================================================
- HTML: Use HTML stylesheet with the output:
- =================================================================
-->
-<xsl:param name="html.stylesheet" >user_guides.css</xsl:param>
-<xsl:param name="html.stylesheet.type">text/css</xsl:param>
<xsl:param name="css.decoration" >1</xsl:param>
<!-- Show revision flag as class attribute for CSS decoration -->
<xsl:param name="show.revisionflag">0</xsl:param>
-
<!-- =================================================================
- Automatically generated parts: ToC, numbering, index,....
- =================================================================
@@ -85,7 +81,6 @@
<!-- Depth of sections in ToC..........: not used -->
<!-- Generate the index................: true -->
-
<xsl:param name="toc.indent.width" >10</xsl:param>
<xsl:param name="autotoc.label.separator" >. </xsl:param>
<xsl:param name="bridgehead.in.toc" >0</xsl:param>
@@ -106,7 +101,6 @@
<xsl:attribute name="space-after.maximum" >2em</xsl:attribute>
</xsl:attribute-set>
-
<!-- =================================================================
- Generic decoration and rendering:
- =================================================================
@@ -218,7 +212,6 @@
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
</xsl:attribute-set>
-
<!-- blockquote rendering: -->
<xsl:attribute-set name="blockquote.properties">
@@ -267,7 +260,6 @@
<xsl:param name="funcsynopsis.style">ansi</xsl:param>
-
<!-- =================================================================
- Tables layout and properties:
- =================================================================
@@ -290,5 +282,14 @@
<xsl:param name="default.table.width">18cm</xsl:param>
<xsl:param name="nominal.table.width">18cm</xsl:param>
+<!-- =================================================================
+ - Nice (X)HTML output:
+ - =================================================================
+ -->
+
+<xsl:param name="make.valid.html" select="1"></xsl:param>
+<xsl:param name="html.cleanup" select="1"></xsl:param>
+<!-- xsl:param name="chunker.output.doctype-public">-//W3C//DTD HTML 4.01 Transitional//EN</xsl:param -->
+<!-- xsl:param name="chunker.output.doctype-system">http://www.w3.org/TR/html4/loose.dtd</xsl:param -->
</xsl:stylesheet>