1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY % html "IGNORE">
4 <!ENTITY % print "IGNORE">
5 <!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl" CDATA dsssl>
7 <!ENTITY % print "INCLUDE">
9 <!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl" CDATA dsssl>
13 <!-- This is (or was) the standard Cygnus DocBook tools stylesheet
17 %section-autolabel%: true
24 <style-specification id="print" use="docbook">
25 <style-specification-body>
27 ;; ====================
28 ;; customize the print stylesheet
29 ;; ====================
31 ;; make funcsynopsis look pretty
32 (define %funcsynopsis-decoration%
33 ;; Decorate elements of a FuncSynopsis?
36 ;; use graphics in admonitions, and have their path be "."
37 ;; NO: we are not yet ready to use gifs in TeX and so forth
38 (define %admon-graphics-path%
40 (define %admon-graphics%
43 ;; this is necessary because right now jadetex does not understand
44 ;; symbolic entities, whereas things work well with numeric entities.
45 (declare-characteristic preserve-sdata?
46 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
48 (define %two-side% #t)
50 (define %section-autolabel%
51 ;; Are sections enumerated?
53 ;; (define %title-font-family%
54 ;; ;; The font family used in titles
56 (define %visual-acuity%
57 ;; General measure of document text size
62 (define %generate-part-toc% #t)
64 ;; (define %block-start-indent% 10pt)
66 (define %graphic-default-extension% "eps")
69 </style-specification-body>
70 </style-specification>
73 ;; ====================
74 ;; customize the html stylesheet
75 ;; ====================
77 <style-specification id="html" use="docbook">
78 <style-specification-body>
80 ;; this is necessary because right now jadetex does not understand
81 ;; symbolic entities, whereas things work well with numeric entities.
82 (declare-characteristic preserve-sdata?
83 "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
86 ;; put the legal notice in a separate file
87 (define %generate-legalnotice-link%
90 ;; use graphics in admonitions, and have their path be "stylesheet-images"
91 ;; NO: they do not yet look very good
92 (define %admon-graphics-path%
93 "./stylesheet-images/")
94 (define %admon-graphics%
97 ;; make funcsynopsis look pretty
98 (define %funcsynopsis-decoration%
99 ;; Decorate elements of a FuncSynopsis?
102 (define %html-ext% ".html")
104 ;; What attributes should be hung off of BODY?
107 ;; (list "BGCOLOR" "#FFFFFF")
108 ;; (list "TEXT" "#000000")))
110 (define %generate-article-toc%
111 ;; Should a Table of Contents be produced for Articles?
112 ;; If true, a Table of Contents will be generated for each 'Article'.
115 (define %generate-part-toc% #t)
117 (define %shade-verbatim%
120 (define %use-id-as-filename%
121 ;; Use ID attributes as name for component HTML files?
124 (define %graphic-default-extension% "gif")
126 (define %section-autolabel% #t)
128 </style-specification-body>
129 </style-specification>
131 <external-specification id="docbook" document="docbook.dsl">