summaryrefslogtreecommitdiff
path: root/docs/usermanual/stylesheet-html.dsl
Side-by-side diff
Diffstat (limited to 'docs/usermanual/stylesheet-html.dsl') (more/less context) (ignore whitespace changes)
-rw-r--r--docs/usermanual/stylesheet-html.dsl56
1 files changed, 56 insertions, 0 deletions
diff --git a/docs/usermanual/stylesheet-html.dsl b/docs/usermanual/stylesheet-html.dsl
new file mode 100644
index 0000000..c07cc53
--- a/dev/null
+++ b/docs/usermanual/stylesheet-html.dsl
@@ -0,0 +1,56 @@
+<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+<!ENTITY dbstyle SYSTEM "/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL>
+]>
+
+<style-sheet>
+<style-specification use="docbook">
+<style-specification-body>
+
+; Personnalization of James Clark's stylesheet for HTML output
+; These parameters overide James Clark's one.
+
+; Only produce a table of contents (not a table of figure, etc...)
+(define ($generate-book-lot-list$)
+ (list ))
+
+; Depth of the table of contents
+(define (toc-depth nd)
+ 2)
+
+; Change of HTML page for each chapter, not for each "sect1"
+(define (chunk-element-list)
+ (list (normalize "preface")
+ (normalize "chapter")
+ (normalize "appendix")
+ (normalize "article")
+ (normalize "glossary")
+ (normalize "bibliography")
+ (normalize "index")
+ (normalize "colophon")
+ (normalize "setindex")
+ (normalize "reference")
+ (normalize "refentry")
+ (normalize "part")
+ (normalize "book")
+ (normalize "set")
+ ))
+
+; "screens" should be in verbatim mode"
+(define %shade-verbatim%
+ #t)
+
+; I want small icons for "notes", "warnings", "caution" & "important"
+(define %admon-graphics%
+ #t)
+; Path for the icons
+(define %admon-graphics-path%
+ "")
+
+; Use ID attributes as name for component HTML files
+(define %use-id-as-filename%
+ #t)
+
+</style-specification-body>
+</style-specification>
+<external-specification id="docbook" document="dbstyle">
+</style-sheet>