Diffstat (limited to 'docs/usermanual/stylesheet-html.dsl') (more/less context) (show whitespace changes)
-rw-r--r-- | docs/usermanual/stylesheet-html.dsl | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/docs/usermanual/stylesheet-html.dsl b/docs/usermanual/stylesheet-html.dsl new file mode 100644 index 0000000..c07cc53 --- a/dev/null +++ b/docs/usermanual/stylesheet-html.dsl | |||
@@ -0,0 +1,56 @@ | |||
1 | <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ | ||
2 | <!ENTITY dbstyle SYSTEM "/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL> | ||
3 | ]> | ||
4 | |||
5 | <style-sheet> | ||
6 | <style-specification use="docbook"> | ||
7 | <style-specification-body> | ||
8 | |||
9 | ; Personnalization of James Clark's stylesheet for HTML output | ||
10 | ; These parameters overide James Clark's one. | ||
11 | |||
12 | ; Only produce a table of contents (not a table of figure, etc...) | ||
13 | (define ($generate-book-lot-list$) | ||
14 | (list )) | ||
15 | |||
16 | ; Depth of the table of contents | ||
17 | (define (toc-depth nd) | ||
18 | 2) | ||
19 | |||
20 | ; Change of HTML page for each chapter, not for each "sect1" | ||
21 | (define (chunk-element-list) | ||
22 | (list (normalize "preface") | ||
23 | (normalize "chapter") | ||
24 | (normalize "appendix") | ||
25 | (normalize "article") | ||
26 | (normalize "glossary") | ||
27 | (normalize "bibliography") | ||
28 | (normalize "index") | ||
29 | (normalize "colophon") | ||
30 | (normalize "setindex") | ||
31 | (normalize "reference") | ||
32 | (normalize "refentry") | ||
33 | (normalize "part") | ||
34 | (normalize "book") | ||
35 | (normalize "set") | ||
36 | )) | ||
37 | |||
38 | ; "screens" should be in verbatim mode" | ||
39 | (define %shade-verbatim% | ||
40 | #t) | ||
41 | |||
42 | ; I want small icons for "notes", "warnings", "caution" & "important" | ||
43 | (define %admon-graphics% | ||
44 | #t) | ||
45 | ; Path for the icons | ||
46 | (define %admon-graphics-path% | ||
47 | "") | ||
48 | |||
49 | ; Use ID attributes as name for component HTML files | ||
50 | (define %use-id-as-filename% | ||
51 | #t) | ||
52 | |||
53 | </style-specification-body> | ||
54 | </style-specification> | ||
55 | <external-specification id="docbook" document="dbstyle"> | ||
56 | </style-sheet> | ||