-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.dsl
37 lines (32 loc) · 1.03 KB
/
local.dsl
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
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle PUBLIC "-//GtkViaAlcove//DOCUMENT Gtk-doc HTML Stylesheet//EN" CDATA DSSSL>
]>
<style-sheet>
<style-specification use="gtk">
<style-specification-body>
(define (toc-depth nd)
(if (string=? (gi nd) (normalize "book"))
1
1))
(define %generate-article-toc% #t)
;; Don't split up the doc as much.
(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") ;; just in case nothing else matches...
(normalize "set") ;; sets are definitely chunks...
))
</style-specification-body>
</style-specification>
<external-specification id="gtk" document="dbstyle">
</style-sheet>