Try Arial first for NS4/Win
[privoxy.git] / doc / source / ldp.dsl
1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [\r
2 <!ENTITY % html "IGNORE">\r
3 <![%html;[\r
4 <!ENTITY % print "IGNORE">\r
5 <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl" CDATA dsssl>\r
6 ]]>\r
7 <!ENTITY % print "INCLUDE">\r
8 <![%print;[\r
9 <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl" CDATA dsssl>\r
10 ]]>\r
11 ]>\r
12 \r
13 <!--\r
14 \r
15 ;; borrowed from the LDP stylesheet, with modifications, HB.\r
16 ;; Added support for css 03/20/02, and other mods.\r
17 \r
18 -->\r
19 \r
20 <style-sheet>\r
21 \r
22 <style-specification id="print" use="docbook">\r
23 <style-specification-body> \r
24 \r
25 ;; ==============================\r
26 ;; customize the print stylesheet\r
27 ;; ==============================\r
28 \r
29 </style-specification-body>\r
30 </style-specification>\r
31 \r
32 \r
33 <!--\r
34 ;; ===================================================\r
35 ;; customize the html stylesheet; borrowed from Cygnus\r
36 ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)\r
37 ;; ===================================================\r
38 -->\r
39 \r
40 <style-specification id="html" use="docbook">\r
41 <style-specification-body> \r
42 \r
43 ;; this is necessary because right now jadetex does not understand\r
44 ;; symbolic entities, whereas things work well with numeric entities.\r
45 (declare-characteristic preserve-sdata?\r
46   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
47   #f)\r
48 \r
49 ;; put the legal notice in a separate file\r
50 (define %generate-legalnotice-link%\r
51   #t)\r
52 \r
53 ;; use graphics in admonitions, and have their path be "stylesheet-images"\r
54 ;; NO: they do not yet look very good\r
55 (define %admon-graphics-path%\r
56   "./stylesheet-images/")\r
57 \r
58 (define %admon-graphics%\r
59   #f)\r
60 \r
61 (define %funcsynopsis-decoration%\r
62   ;; make funcsynopsis look pretty\r
63   #t)\r
64 \r
65 (define %html-ext%\r
66   ".html")\r
67 \r
68 (define %generate-article-toc% \r
69   ;; Should a Table of Contents be produced for Articles?\r
70   ;; If true, a Table of Contents will be generated for each 'Article'.\r
71   #t)\r
72 \r
73 (define %root-filename%\r
74   ;; The filename of the root HTML document (e.g, "index").\r
75   "index")\r
76 \r
77 (define %generate-part-toc%\r
78   #t)\r
79 \r
80 (define %shade-verbatim%\r
81   #t)\r
82 \r
83 (define %use-id-as-filename%\r
84   ;; Use ID attributes as name for component HTML files?\r
85   #t)\r
86 \r
87 (define %graphic-default-extension% \r
88   "gif")\r
89 \r
90 (define %section-autolabel% #t)\r
91   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
92   \r
93 ;; HB changed TOC depth to 3 levels.\r
94 (define (toc-depth nd)\r
95   3)\r
96 \r
97 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
98 \r
99 (define %body-attr% \r
100   ;; REFENTRY body-attr\r
101   ;; PURP What attributes should be hung off of BODY?\r
102   ;; DESC\r
103   ;; A list of the the BODY attributes that should be generated.\r
104   ;; The format is a list of lists, each interior list contains the\r
105   ;; name and value of a BODY attribute.\r
106   ;; /DESC\r
107   ;; AUTHOR N/A\r
108   ;; /REFENTRY\r
109   (list\r
110    (list "BGCOLOR" "#EEEEEE")\r
111    (list "TEXT" "#000000")\r
112    (list "LINK" "#0000FF")\r
113    (list "VLINK" "#840084")\r
114    (list "ALINK" "#0000FF")))\r
115 \r
116 (define %stylesheet%\r
117   ;; REFENTRY stylesheet\r
118   ;; PURP Name of the stylesheet to use\r
119   ;; DESC\r
120   ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to\r
121   ;; suppress the stylesheet LINK.\r
122   ;; /DESC\r
123   ;; AUTHOR N/A\r
124   ;; /REFENTRY\r
125   "../p_doc.css")\r
126 \r
127 (define %stylesheet-type%\r
128   ;; REFENTRY stylesheet-type\r
129   ;; PURP The type of the stylesheet to use\r
130   ;; DESC\r
131   ;; The type of the stylesheet to place in the HTML LINK TAG.\r
132   ;; /DESC\r
133   ;; AUTHOR N/A\r
134   ;; /REFENTRY\r
135   "text/css")\r
136 \r
137 (define %css-liststyle-alist%\r
138   ;; REFENTRY css-liststyle-alist\r
139   ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS\r
140   ;; DESC\r
141   ;; If '%css-decoration%' is turned on then the list-style-type property of\r
142   ;; list items will be set to reflect the list item style selected in the\r
143   ;; DocBook instance.  This associative list maps the style type names used\r
144   ;; in your instance to the appropriate CSS names.  If no mapping exists,\r
145   ;; the name from the instance will be used.\r
146   ;; /DESC\r
147   ;; AUTHOR N/A\r
148   ;; /REFENTRY\r
149   '(("bullet" "disc")\r
150     ("box" "square")))\r
151 \r
152 (define %css-decoration%\r
153   ;; REFENTRY css-decoration\r
154   ;; PURP Enable CSS decoration of elements\r
155   ;; DESC\r
156   ;; If '%css-decoration%' is turned on then HTML elements produced by the\r
157   ;; stylesheet may be decorated with STYLE attributes.  For example, the\r
158   ;; LI tags produced for list items may include a fragment of CSS in the\r
159   ;; STYLE attribute which sets the CSS property "list-style-type".\r
160   ;; /DESC\r
161   ;; AUTHOR N/A\r
162   ;; /REFENTRY\r
163   #t)\r
164 \r
165 \r
166 </style-specification-body>\r
167 </style-specification>\r
168 \r
169 <external-specification id="docbook" document="docbook.dsl">\r
170 \r
171 </style-sheet>\r