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
13 ;; borrowed from the LDP stylesheet, with modifications, HB.
\r
14 ;; Added support for css 03/20/02, and other mods.
\r
18 <style-specification id="print" use="docbook">
\r
19 <style-specification-body>
\r
21 ;; ==============================
\r
22 ;; customize the print stylesheet
\r
23 ;; ==============================
\r
25 </style-specification-body>
\r
26 </style-specification>
\r
30 ;; ===================================================
\r
31 ;; customize the html stylesheet; borrowed from Cygnus
\r
32 ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)
\r
33 ;; ===================================================
\r
36 <style-specification id="html" use="docbook">
\r
37 <style-specification-body>
\r
39 ;; this is necessary because right now jadetex does not understand
\r
40 ;; symbolic entities, whereas things work well with numeric entities.
\r
41 (declare-characteristic preserve-sdata?
\r
42 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
\r
45 ;; put the legal notice in a separate file
\r
46 (define %generate-legalnotice-link%
\r
49 ;; use graphics in admonitions, and have their path be "stylesheet-images"
\r
50 ;; NO: they do not yet look very good
\r
51 (define %admon-graphics-path%
\r
52 "./stylesheet-images/")
\r
54 (define %admon-graphics%
\r
57 (define %funcsynopsis-decoration%
\r
58 ;; make funcsynopsis look pretty
\r
64 (define %generate-article-toc%
\r
65 ;; Should a Table of Contents be produced for Articles?
\r
66 ;; If true, a Table of Contents will be generated for each 'Article'.
\r
69 (define %root-filename%
\r
70 ;; The filename of the root HTML document (e.g, "index").
\r
73 (define %generate-part-toc%
\r
76 (define %shade-verbatim%
\r
79 (define %use-id-as-filename%
\r
80 ;; Use ID attributes as name for component HTML files?
\r
83 (define %graphic-default-extension%
\r
86 (define %section-autolabel%
\r
87 ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
\r
90 ;; HB changed TOC depth to 3 levels.
\r
91 (define (toc-depth nd)
\r
94 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\r
96 (define %body-attr%
\r
97 ;; REFENTRY body-attr
\r
98 ;; PURP What attributes should be hung off of BODY?
\r
100 ;; A list of the the BODY attributes that should be generated.
\r
101 ;; The format is a list of lists, each interior list contains the
\r
102 ;; name and value of a BODY attribute.
\r
107 (list "BGCOLOR" "#EEEEEE")
\r
108 (list "TEXT" "#000000")
\r
109 (list "LINK" "#0000FF")
\r
110 (list "VLINK" "#840084")
\r
111 (list "ALINK" "#0000FF")))
\r
113 (define %stylesheet%
\r
114 ;; REFENTRY stylesheet
\r
115 ;; PURP Name of the stylesheet to use
\r
117 ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to
\r
118 ;; suppress the stylesheet LINK.
\r
124 (define %stylesheet-type%
\r
125 ;; REFENTRY stylesheet-type
\r
126 ;; PURP The type of the stylesheet to use
\r
128 ;; The type of the stylesheet to place in the HTML LINK TAG.
\r
134 (define %css-liststyle-alist%
\r
135 ;; REFENTRY css-liststyle-alist
\r
136 ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS
\r
138 ;; If '%css-decoration%' is turned on then the list-style-type property of
\r
139 ;; list items will be set to reflect the list item style selected in the
\r
140 ;; DocBook instance. This associative list maps the style type names used
\r
141 ;; in your instance to the appropriate CSS names. If no mapping exists,
\r
142 ;; the name from the instance will be used.
\r
146 '(("bullet" "disc")
\r
150 </style-specification-body>
\r
151 </style-specification>
\r
153 <external-specification id="docbook" document="docbook.dsl">
\r