summaryrefslogtreecommitdiff
path: root/docs/usermanual/stylesheet-html.dsl
blob: c07cc53c357d3e9d4cee4d9e383ae8713528c1d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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>