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-part-toc% #t)
65 ;; (define %block-start-indent% 10pt)
67 (define %graphic-default-extension% "eps")
73 </style-specification-body>
74 </style-specification>
77 ;; ====================
78 ;; customize the html stylesheet
79 ;; ====================
81 <style-specification id="html" use="docbook">
82 <style-specification-body>
84 ;; this is necessary because right now jadetex does not understand
85 ;; symbolic entities, whereas things work well with numeric entities.
86 (declare-characteristic preserve-sdata?
87 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
90 ;; put the legal notice in a separate file
91 (define %generate-legalnotice-link%
94 ;; use graphics in admonitions, and have their path be "stylesheet-images"
95 ;; NO: they do not yet look very good
96 (define %admon-graphics-path%
97 "./stylesheet-images/")
98 (define %admon-graphics%
101 ;; make funcsynopsis look pretty
102 (define %funcsynopsis-decoration%
103 ;; Decorate elements of a FuncSynopsis?
106 (define %html-ext% ".html")
108 ;; What attributes should be hung off of BODY?
111 ;; (list "BGCOLOR" "#FFFFFF")
112 ;; (list "TEXT" "#000000")))
114 (define %generate-article-toc%
115 ;; Should a Table of Contents be produced for Articles?
116 ;; If true, a Table of Contents will be generated for each 'Article'.
119 (define %generate-part-toc% #t)
121 (define %shade-verbatim%
124 (define %use-id-as-filename%
125 ;; Use ID attributes as name for component HTML files?
128 (define %graphic-default-extension% "gif")
130 (define %section-autolabel% #t)
132 </style-specification-body>
133 </style-specification>
135 <external-specification id="docbook" document="docbook.dsl">