[project @ 2000-10-09 16:53:49 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 PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
6 ]]>
7 <!ENTITY % print "INCLUDE">
8 <![%print;[
9 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" 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 %paper-type%: A4
19
20 -->
21
22
23 <style-sheet>
24
25 <style-specification id="print" use="docbook">
26 <style-specification-body> 
27
28 ;; ====================
29 ;; customize the print stylesheet
30 ;; ====================
31
32 ;; make funcsynopsis look pretty
33 (define %funcsynopsis-decoration%
34   ;; Decorate elements of a FuncSynopsis?
35   #t)
36
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%
40   "./")
41 (define %admon-graphics%
42   #f)
43
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?"
48           #f)
49 (define %two-side% #t)
50
51 (define %section-autolabel% 
52   ;; Are sections enumerated?
53   #t)
54 ;; (define %title-font-family% 
55 ;;   ;; The font family used in titles
56 ;;   "Ariel")
57 (define %visual-acuity%
58   ;; General measure of document text size
59   ;; "presbyopic"
60   ;; "large-type"
61   "normal")
62
63 (define %generate-part-toc% #t)
64
65 ;; (define %block-start-indent% 10pt)
66
67 (define %graphic-default-extension% "eps")
68
69 (define %paper-type%
70   ;; Name of paper type
71   "A4")
72
73 </style-specification-body>
74 </style-specification>
75
76 <!--
77 ;; ====================
78 ;; customize the html stylesheet
79 ;; ====================
80 -->
81 <style-specification id="html" use="docbook">
82 <style-specification-body> 
83
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?"
88           #f)
89
90 ;; put the legal notice in a separate file
91 (define %generate-legalnotice-link%
92   #t)
93
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%
99   #f)
100
101 ;; make funcsynopsis look pretty
102 (define %funcsynopsis-decoration%
103   ;; Decorate elements of a FuncSynopsis?
104   #t)
105
106 (define %html-ext% ".html")
107 (define %body-attr%
108   ;; What attributes should be hung off of BODY?
109   '())
110 ;;  (list
111 ;;   (list "BGCOLOR" "#FFFFFF")
112 ;;   (list "TEXT" "#000000")))
113
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'.
117   #t)
118
119 (define %generate-part-toc% #t)
120
121 (define %shade-verbatim%
122   #t)
123
124 (define %use-id-as-filename%
125   ;; Use ID attributes as name for component HTML files?
126   #t)
127
128 (define %graphic-default-extension% "gif")
129
130 (define %section-autolabel% #t)
131
132 </style-specification-body>
133 </style-specification>
134
135 <external-specification id="docbook" document="docbook.dsl">
136
137 </style-sheet>