[project @ 2004-08-26 15:44:50 by simonpj]
[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-set-toc% #t)
64 (define %generate-part-toc% #t)
65
66 ;; (define %block-start-indent% 10pt)
67
68 (define %graphic-default-extension% "eps")
69
70 (define %paper-type%
71   ;; Name of paper type
72   "A4")
73
74 </style-specification-body>
75 </style-specification>
76
77 <!--
78 ;; ====================
79 ;; customize the html stylesheet
80 ;; ====================
81 -->
82 <style-specification id="html" use="docbook">
83 <style-specification-body> 
84
85 ;; this is necessary because right now jadetex does not understand
86 ;; symbolic entities, whereas things work well with numeric entities.
87 (declare-characteristic preserve-sdata?
88           "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
89           #f)
90
91 ;; put the legal notice in a separate file
92 (define %generate-legalnotice-link%
93   #t)
94
95 ;; use graphics in admonitions, and have their path be "stylesheet-images"
96 ;; NO: they do not yet look very good
97 (define %admon-graphics-path%
98   "./stylesheet-images/")
99 (define %admon-graphics%
100   #f)
101
102 ;; make funcsynopsis look pretty
103 (define %funcsynopsis-decoration%
104   ;; Decorate elements of a FuncSynopsis?
105   #t)
106
107 (define %html-ext% ".html")
108 (define %body-attr%
109   ;; What attributes should be hung off of BODY?
110   '())
111 ;;  (list
112 ;;   (list "BGCOLOR" "#FFFFFF")
113 ;;   (list "TEXT" "#000000")))
114
115 (define %generate-article-toc% 
116   ;; Should a Table of Contents be produced for Articles?
117   ;; If true, a Table of Contents will be generated for each 'Article'.
118   #t)
119
120 (define %generate-part-toc% #t)
121
122 (define %shade-verbatim%
123   #t)
124
125 (define %use-id-as-filename%
126   ;; Use ID attributes as name for component HTML files?
127   #t)
128
129 (define %graphic-default-extension% "gif")
130
131 (define %section-autolabel% #t)
132
133 ;; Uncomment the setting below if you want .html output as one 
134 ;; big page. [ Notice that 'jade' dumps the output on stdout 
135 ;; rather than on honour the -o option...at least my copy does.]
136 ;;
137 ;;(define nochunks #t)
138
139 </style-specification-body>
140 </style-specification>
141
142 <external-specification id="docbook" document="docbook.dsl">
143
144 </style-sheet>