Debian Codegraph @

doc/html.dsl

raw
1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
3 ]>
4 <style-sheet>
5 <style-specification id="html" use="docbook">
6 <style-specification-body>
7
8 (define %chapter-autolabel% #t)
9 (define %section-autolabel% #t)
10 (define (toc-depth nd) 3)
11
12 ; (declare-characteristic preserve-sdata?
13 ; "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
14 ; #f)
15
16 (define %root-filename% "index") ;; name for the root html file
17
18 ;;Use element ids as filenames?
19 (define %use-id-as-filename%
20 #t)
21
22 ;;Default extension for filenames?
23 (define %html-ext%
24 ".html")
25
26 ; === Rendering ===
27 (define %admon-graphics% #t) ;; use symbols for Caution|Important|Note|Tip|Warning
28
29 ; === Books only ===
30 (define %generate-book-titlepage% #t)
31 (define %generate-book-toc% #t)
32 (define ($generate-chapter-toc$) #f) ;; never generate a chapter TOC in books
33
34 ; === HTML settings ===
35 (define %html-pubid% "-//W3C//DTD HTML 4.01 Transitional//EN") ;; Nearly true :-(
36 (define %html40% #t)
37
38 </style-specification-body>
39 </style-specification>
40 <external-specification id="docbook" document="docbook.dsl">
41 </style-sheet>