1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY % html "IGNORE">
4 <!ENTITY % print "IGNORE">
5 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
7 <!ENTITY % print "INCLUDE">
9 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
13 <!-- This is (or was) the standard Cygnus DocBook tools stylesheet
17 %section-autolabel%: true
25 <style-specification id="print" use="docbook">
26 <style-specification-body>
28 ;; ====================
29 ;; customize the print stylesheet
30 ;; ====================
32 ;; make funcsynopsis look pretty
33 (define %funcsynopsis-decoration%
34 ;; Decorate elements of a FuncSynopsis?
37 ;; use graphics in admonitions, and have their path be "."
38 ;; NO: we are not yet ready to use gifs in TeX and so forth
39 (define %admon-graphics-path%
41 (define %admon-graphics%
44 ;; this is necessary because right now jadetex does not understand
45 ;; symbolic entities, whereas things work well with numeric entities.
46 (declare-characteristic preserve-sdata?
47 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
49 (define %two-side% #t)
51 (define %section-autolabel%
52 ;; Are sections enumerated?
54 ;; (define %title-font-family%
55 ;; ;; The font family used in titles
57 (define %visual-acuity%
58 ;; General measure of document text size
63 (define %generate-set-toc% #t)
64 (define %generate-part-toc% #t)
66 ;; (define %block-start-indent% 10pt)
68 (define %graphic-default-extension% "eps")
74 </style-specification-body>
75 </style-specification>
78 ;; ====================
79 ;; customize the html stylesheet
80 ;; ====================
82 <style-specification id="html" use="docbook">
83 <style-specification-body>
85 ;; this is necessary because right now jadetex does not understand
86 ;; symbolic entities, whereas things work well with numeric entities.
87 (declare-characteristic preserve-sdata?
88 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
91 ;; put the legal notice in a separate file
92 (define %generate-legalnotice-link%
95 ;; use graphics in admonitions, and have their path be "stylesheet-images"
96 ;; NO: they do not yet look very good
97 (define %admon-graphics-path%
98 "./stylesheet-images/")
99 (define %admon-graphics%
102 ;; make funcsynopsis look pretty
103 (define %funcsynopsis-decoration%
104 ;; Decorate elements of a FuncSynopsis?
107 (define %html-ext% ".html")
109 ;; What attributes should be hung off of BODY?
112 ;; (list "BGCOLOR" "#FFFFFF")
113 ;; (list "TEXT" "#000000")))
115 (define %generate-article-toc%
116 ;; Should a Table of Contents be produced for Articles?
117 ;; If true, a Table of Contents will be generated for each 'Article'.
120 (define %generate-part-toc% #t)
122 (define %shade-verbatim%
125 (define %use-id-as-filename%
126 ;; Use ID attributes as name for component HTML files?
129 (define %graphic-default-extension% "gif")
131 (define %section-autolabel% #t)
133 ;; Uncomment the setting below if you want .html output as one
134 ;; big page. [ Notice that 'jade' dumps the output on stdout
135 ;; rather than on honour the -o option...at least my copy does.]
137 ;;(define nochunks #t)
139 </style-specification-body>
140 </style-specification>
142 <external-specification id="docbook" document="docbook.dsl">