File: local.dsl

package info (click to toggle)
pygopherd 2.0.17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,872 kB
  • ctags: 589
  • sloc: python: 3,872; makefile: 94; sh: 56
file content (37 lines) | stat: -rw-r--r-- 1,057 bytes parent folder | download | duplicates (10)
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>