summaryrefslogtreecommitdiffstats
path: root/wm-spec
diff options
context:
space:
mode:
authormatthiasc <matthiasc>2002-05-18 21:38:53 +0000
committermatthiasc <matthiasc>2002-05-18 21:38:53 +0000
commit0a4f231136c6331b9dcc33d7ee80f42b8afef611 (patch)
tree98a60ff55799d309439b580b5858eada72ac5e72 /wm-spec
parent230e3c29e4b61dee242a06b72b00a8b2afc8b9c1 (diff)
downloadxdg-specs-0a4f231136c6331b9dcc33d7ee80f42b8afef611.tar.xz
A customization for the html and print stylesheets (main difference to
the default: section numbering is turned on).
Diffstat (limited to 'wm-spec')
-rw-r--r--wm-spec/wm-spec.dsl44
1 files changed, 44 insertions, 0 deletions
diff --git a/wm-spec/wm-spec.dsl b/wm-spec/wm-spec.dsl
new file mode 100644
index 0000000..a4b5f6c
--- /dev/null
+++ b/wm-spec/wm-spec.dsl
@@ -0,0 +1,44 @@
+<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+<!ENTITY db-html PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
+<!ENTITY db-print PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
+]>
+<style-sheet>
+<style-specification id="html" use="common db-html">
+<style-specification-body>
+;; html customization goes here
+
+(define %root-filename% "index")
+(define %html-ext% ".html")
+
+</style-specification-body>
+</style-specification>
+
+<style-specification id="print" use="common db-print">
+<style-specification-body>
+;; print customization goes here
+</style-specification-body>
+</style-specification>
+
+<style-specification id="common">
+<style-specification-body>
+;; common customization goes here
+
+(define %section-autolabel% #t)
+(define %quanda-inherit-numeration% #t)
+(define %generate-article-toc% #t)
+(define (article-titlepage-recto-elements)
+ (list (normalize "title")
+ (normalize "subtitle")
+ (normalize "corpauthor")
+ (normalize "authorgroup")
+ (normalize "author")
+ (normalize "releaseinfo")
+ (normalize "date")))
+
+</style-specification-body>
+</style-specification>
+
+<external-specification id="db-html" document="db-html">
+<external-specification id="db-print" document="db-print">
+</style-sheet>
+