[project @ 2000-01-24 13:05:01 by rrt]
[ghc-hetmet.git] / docs / fptools-both.dsl
1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY % html "IGNORE">
3 <![%html;[
4 <!ENTITY % print "IGNORE">
5 <!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl" CDATA dsssl>
6 ]]>
7 <!ENTITY % print "INCLUDE">
8 <![%print;[
9 <!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl" CDATA dsssl>
10 ]]>
11 ]>
12
13 <!-- This is (or was) the standard Cygnus DocBook tools stylesheet
14
15 Options added:
16
17 %section-autolabel%: true
18
19 -->
20
21
22 <style-sheet>
23
24 <style-specification id="print" use="docbook">
25 <style-specification-body> 
26
27 ;; ====================
28 ;; customize the print stylesheet
29 ;; ====================
30
31 ;; make funcsynopsis look pretty
32 (define %funcsynopsis-decoration%
33   ;; Decorate elements of a FuncSynopsis?
34   #t)
35
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%
39   "./")
40 (define %admon-graphics%
41   #f)
42
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?"
47           #f)
48 (define %two-side% #t)
49
50 (define %section-autolabel% 
51   ;; Are sections enumerated?
52   #t)
53 ;; (define %title-font-family% 
54 ;;   ;; The font family used in titles
55 ;;   "Ariel")
56 (define %visual-acuity%
57   ;; General measure of document text size
58   ;; "presbyopic"
59   ;; "large-type"
60   "presbyopic")
61
62 (define %generate-part-toc% #t)
63
64 ;; (define %block-start-indent% 10pt)
65
66 (define %graphic-default-extension% "eps")
67
68
69 </style-specification-body>
70 </style-specification>
71
72 <!--
73 ;; ====================
74 ;; customize the html stylesheet
75 ;; ====================
76 -->
77 <style-specification id="html" use="docbook">
78 <style-specification-body> 
79
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?"
84           #f)
85
86 ;; put the legal notice in a separate file
87 (define %generate-legalnotice-link%
88   #t)
89
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%
95   #f)
96
97 ;; make funcsynopsis look pretty
98 (define %funcsynopsis-decoration%
99   ;; Decorate elements of a FuncSynopsis?
100   #t)
101
102 (define %html-ext% ".html")
103 (define %body-attr%
104   ;; What attributes should be hung off of BODY?
105   '())
106 ;;  (list
107 ;;   (list "BGCOLOR" "#FFFFFF")
108 ;;   (list "TEXT" "#000000")))
109
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'.
113   #t)
114
115 (define %generate-part-toc% #t)
116
117 (define %shade-verbatim%
118   #t)
119
120 (define %use-id-as-filename%
121   ;; Use ID attributes as name for component HTML files?
122   #t)
123
124 (define %graphic-default-extension% "gif")
125
126 (define %section-autolabel% #t)
127
128 </style-specification-body>
129 </style-specification>
130
131 <external-specification id="docbook" document="docbook.dsl">
132
133 </style-sheet>