1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
\r
2 <!ENTITY % html "IGNORE">
\r
4 <!ENTITY % print "IGNORE">
\r
5 <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl" CDATA dsssl>
\r
7 <!ENTITY % print "INCLUDE">
\r
9 <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl" CDATA dsssl>
\r
15 ;; borrowed from the LDP stylesheet, with modifications, HB.
\r
16 ;; Added support for css 03/20/02, and other mods.
\r
22 <style-specification id="print" use="docbook">
\r
23 <style-specification-body>
\r
25 ;; ==============================
\r
26 ;; customize the print stylesheet
\r
27 ;; ==============================
\r
29 </style-specification-body>
\r
30 </style-specification>
\r
34 ;; ===================================================
\r
35 ;; customize the html stylesheet; borrowed from Cygnus
\r
36 ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)
\r
37 ;; ===================================================
\r
40 <style-specification id="html" use="docbook">
\r
41 <style-specification-body>
\r
43 ;; this is necessary because right now jadetex does not understand
\r
44 ;; symbolic entities, whereas things work well with numeric entities.
\r
45 (declare-characteristic preserve-sdata?
\r
46 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
\r
49 ;; put the legal notice in a separate file
\r
50 (define %generate-legalnotice-link%
\r
53 ;; use graphics in admonitions, and have their path be "stylesheet-images"
\r
54 ;; NO: they do not yet look very good
\r
55 (define %admon-graphics-path%
\r
56 "./stylesheet-images/")
\r
58 (define %admon-graphics%
\r
61 (define %funcsynopsis-decoration%
\r
62 ;; make funcsynopsis look pretty
\r
68 (define %generate-article-toc%
\r
69 ;; Should a Table of Contents be produced for Articles?
\r
70 ;; If true, a Table of Contents will be generated for each 'Article'.
\r
73 (define %root-filename%
\r
74 ;; The filename of the root HTML document (e.g, "index").
\r
77 (define %generate-part-toc%
\r
80 (define %shade-verbatim%
\r
83 (define %use-id-as-filename%
\r
84 ;; Use ID attributes as name for component HTML files?
\r
87 (define %graphic-default-extension%
\r
90 (define %section-autolabel% #t)
\r
91 ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
\r
93 ;; HB changed TOC depth to 3 levels.
\r
94 (define (toc-depth nd)
\r
97 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\r
99 (define %body-attr%
\r
100 ;; REFENTRY body-attr
\r
101 ;; PURP What attributes should be hung off of BODY?
\r
103 ;; A list of the the BODY attributes that should be generated.
\r
104 ;; The format is a list of lists, each interior list contains the
\r
105 ;; name and value of a BODY attribute.
\r
110 (list "BGCOLOR" "#EEEEEE")
\r
111 (list "TEXT" "#000000")
\r
112 (list "LINK" "#0000FF")
\r
113 (list "VLINK" "#840084")
\r
114 (list "ALINK" "#0000FF")))
\r
116 (define %stylesheet%
\r
117 ;; REFENTRY stylesheet
\r
118 ;; PURP Name of the stylesheet to use
\r
120 ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to
\r
121 ;; suppress the stylesheet LINK.
\r
127 (define %stylesheet-type%
\r
128 ;; REFENTRY stylesheet-type
\r
129 ;; PURP The type of the stylesheet to use
\r
131 ;; The type of the stylesheet to place in the HTML LINK TAG.
\r
137 (define %css-liststyle-alist%
\r
138 ;; REFENTRY css-liststyle-alist
\r
139 ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS
\r
141 ;; If '%css-decoration%' is turned on then the list-style-type property of
\r
142 ;; list items will be set to reflect the list item style selected in the
\r
143 ;; DocBook instance. This associative list maps the style type names used
\r
144 ;; in your instance to the appropriate CSS names. If no mapping exists,
\r
145 ;; the name from the instance will be used.
\r
149 '(("bullet" "disc")
\r
152 (define %css-decoration%
\r
153 ;; REFENTRY css-decoration
\r
154 ;; PURP Enable CSS decoration of elements
\r
156 ;; If '%css-decoration%' is turned on then HTML elements produced by the
\r
157 ;; stylesheet may be decorated with STYLE attributes. For example, the
\r
158 ;; LI tags produced for list items may include a fragment of CSS in the
\r
159 ;; STYLE attribute which sets the CSS property "list-style-type".
\r
166 </style-specification-body>
\r
167 </style-specification>
\r
169 <external-specification id="docbook" document="docbook.dsl">
\r