wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / doc / source / ldp.dsl.in
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 "@DKPREFIX@/html/docbook.dsl" CDATA dsssl>
6 ]]>
7 <!ENTITY % print "INCLUDE">
8 <![%print;[
9 <!ENTITY docbook.dsl SYSTEM "@DKPREFIX@/print/docbook.dsl" CDATA dsssl>
10 ]]>
11 ]>
12
13 <!--
14
15 ;; borrowed from the LDP stylesheet, with modifications, HB.
16 ;; Added support for css 03/20/02, and other mods.
17
18 -->
19
20 <style-sheet>
21
22 <style-specification id="print" use="docbook">
23 <style-specification-body>
24
25 ;; ==============================
26 ;; customize the print stylesheet
27 ;; ==============================
28 ;;
29 ;; see http://docbook.sourceforge.net/projects/dsssl/doc/print.html
30 ;;
31
32 (define %indent-programlisting-lines%
33   ;; Indent lines in a 'ProgramListing'?
34   ;; "#f" or string to be used as the indent on 'programlisting'
35   "  ")
36
37 (define %indent-screen-lines%
38   ;; Indent lines in a 'Screen'?
39   ;; "#f" or string to be used as the indent on 'screen'
40   "  ")
41
42 (define %callout-fancy-bug%
43   ;; Use fancy callout bugs?
44   #t)
45
46 (define %chap-app-running-heads%
47   ;; Generate running headers and footers on chapter-level elements?
48   #t)
49
50 (define %chap-app-running-head-autolabel%
51   ;; Put chapter labels in running heads?
52   #t)
53
54 ;; this is the 'print' portion of the stylesheet so we want to
55 ;; convert ampersand-code strings to character values
56 (declare-characteristic preserve-sdata?
57   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
58   #f)
59
60 ;; put the legal notice in a separate file
61 (define %generate-legalnotice-link%
62   #t)
63
64 ;; use graphics in admonitions, and have their path be "stylesheet-images"
65 ;; NO: they do not yet look very good
66 (define %admon-graphics-path%
67   "./stylesheet-images/")
68
69 (define %admon-graphics%
70   #f)
71
72 (define %funcsynopsis-decoration%
73   ;; make funcsynopsis look pretty
74   #t)
75
76 ;;(define %shade-verbatim%
77 ;;  #t)
78
79 (define %section-autolabel% #t)
80   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
81
82 ;; HB changed TOC depth to 3 levels.
83 (define (toc-depth nd)
84   3)
85
86 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
87
88 (define %body-attr%
89   ;; REFENTRY body-attr
90   ;; PURP What attributes should be hung off of BODY?
91   ;; DESC
92   ;; A list of the BODY attributes that should be generated.
93   ;; The format is a list of lists, each interior list contains the
94   ;; name and value of a BODY attribute.
95   ;; /DESC
96   ;; AUTHOR N/A
97   ;; /REFENTRY
98   (list
99    (list "BGCOLOR" "#EEEEEE")
100    (list "TEXT" "#000000")
101    (list "LINK" "#0000FF")
102    (list "VLINK" "#840084")
103    (list "ALINK" "#0000FF")))
104
105 (define %stylesheet%
106   ;; REFENTRY stylesheet
107   ;; PURP Name of the stylesheet to use
108   ;; DESC
109   ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to
110   ;; suppress the stylesheet LINK.
111   ;; /DESC
112   ;; AUTHOR N/A
113   ;; /REFENTRY
114   "../p_doc.css")
115
116 (define %stylesheet-type%
117   ;; REFENTRY stylesheet-type
118   ;; PURP The type of the stylesheet to use
119   ;; DESC
120   ;; The type of the stylesheet to place in the HTML LINK TAG.
121   ;; /DESC
122   ;; AUTHOR N/A
123   ;; /REFENTRY
124   "text/css")
125
126 (define %css-liststyle-alist%
127   ;; REFENTRY css-liststyle-alist
128   ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS
129   ;; DESC
130   ;; If '%css-decoration%' is turned on then the list-style-type property of
131   ;; list items will be set to reflect the list item style selected in the
132   ;; DocBook instance.  This associative list maps the style type names used
133   ;; in your instance to the appropriate CSS names.  If no mapping exists,
134   ;; the name from the instance will be used.
135   ;; /DESC
136   ;; AUTHOR N/A
137   ;; /REFENTRY
138   '(("bullet" "disc")
139     ("box" "square")))
140
141 (define %css-decoration%
142   ;; REFENTRY css-decoration
143   ;; PURP Enable CSS decoration of elements
144   ;; DESC
145   ;; If '%css-decoration%' is turned on then HTML elements produced by the
146   ;; stylesheet may be decorated with STYLE attributes.  For example, the
147   ;; LI tags produced for list items may include a fragment of CSS in the
148   ;; STYLE attribute which sets the CSS property "list-style-type".
149   ;; /DESC
150   ;; AUTHOR N/A
151   ;; /REFENTRY
152   #t)
153
154 ;; swa1
155
156 (define %generate-part-toc%
157   #f)
158
159 (define %generate-article-toc%
160   ;; Should a Table of Contents be produced for Articles?
161   ;; If true, a Table of Contents will be generated for each 'Article'.
162   #t)
163
164 (define %generate-part-toc-on-titlepage%
165   ;; Should the Part TOC appear on the Part title page?
166   #f)
167
168 ;;Do you want a separate page for the title?
169 (define %generate-article-titlepage-on-separate-page%
170  #t)
171
172 ;;Do you want the article toc on the titlepage or separate?
173 (define %generate-article-toc-on-titlepage%
174  #f)
175
176 ;;Titlepage Separate?
177 ;; This is the one that makes TOC only on first page!! hal.
178 (define (chunk-skip-first-element-list)
179  '())
180
181 (define %body-start-indent%
182   ;; Default indent of body text
183   2pi)
184
185 (define %para-indent-firstpara%
186   ;; First line start-indent for the first paragraph
187   0pt)
188
189 ;; swa2
190
191 (define %para-indent%
192   ;; First line start-indent for paragraphs (other than the first)
193   0pt)
194
195 (define %block-start-indent%
196   ;; Extra start-indent for block-elements
197   2pt)
198
199 ;;Define distance between paragraphs
200 (define %para-sep%
201  (/ %bf-size% 2.0))
202
203 ;; with swa2 no effects
204
205 ;; swa3
206
207 ;;Define distance between block elements (figures, tables, etc.).
208 (define %block-sep%
209  (* %para-sep% 1.0))
210 ;; (* %para-sep% 2.0))
211
212 (define %hyphenation%
213   ;; Allow automatic hyphenation?
214   #t)
215
216 (define %left-margin% 5pi)
217 (define %right-margin% 5pi)
218 (define %top-margin% 5pi)
219 (define %bottom-margin% 5pi)
220 (define %footer-margin% 2pi)
221 (define %header-margin% 2pi)
222
223 (define %line-spacing-factor% 1.3)
224   ;; Factor used to calculate leading
225   ;; The leading is calculated by multiplying the current font size by the
226   ;; '%line-spacing-factor%'. For example, if the font size is 10pt and
227   ;; the '%line-spacing-factor%' is 1.1, then the text will be
228   ;; printed "10-on-11".
229
230 (define %head-before-factor%
231   ;; Factor used to calculate space above a title
232   ;; The space before a title is calculated by multiplying the font size
233   ;; used in the title by the '%head-before-factor%'.
234 ;;  0.75)
235   0.5)
236
237 (define %head-after-factor%
238   ;; Factor used to calculate space below a title
239   ;; The space after a title is calculated by multiplying the font size used
240   ;; in the title by the '%head-after-factor%'.
241   0.5)
242
243 (define %input-whitespace-treatment% 'collapse)
244
245 (define ($generate-article-lot-list$)
246   ;; Which Lists of Titles should be produced for Articles?
247   (list ))
248
249
250 </style-specification-body>
251 </style-specification>
252
253
254 <style-specification id="print-notoc" use="print">
255 <style-specification-body>
256
257 ;; ===================================================
258 ;; Variant without TOC
259 ;; ===================================================
260
261 (define %generate-article-toc%
262   ;; Should a Table of Contents be produced for Articles?
263   ;; If true, a Table of Contents will be generated for each 'Article'.
264   #f)
265
266 </style-specification-body>
267 </style-specification>
268
269
270 <!--
271 ;; ===================================================
272 ;; customize the html stylesheet; borrowed from Cygnus
273 ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)
274 ;; ===================================================
275 -->
276
277 <style-specification id="html" use="docbook">
278 <style-specification-body>
279
280 ;; this is the 'html' portion of the stylesheet so we want to keep the
281 ;; ampersand-code strings and let the browser convert them to characters
282 (declare-characteristic preserve-sdata?
283   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
284   #t)
285
286 (define %indent-programlisting-lines%
287   ;; Indent lines in a 'ProgramListing'?
288   ;; "#f" or string to be used as the indent on 'programlisting'
289   "  ")
290
291 (define %indent-screen-lines%
292   ;; Indent lines in a 'Screen'?
293   ;; "#f" or string to be used as the indent on 'screen'
294   "  ")
295
296 ;; put the legal notice in a separate file
297 (define %generate-legalnotice-link%
298   #t)
299
300 ;; use graphics in admonitions, and have their path be "stylesheet-images"
301 ;; NO: they do not yet look very good
302 (define %admon-graphics-path%
303   "./stylesheet-images/")
304
305 (define %admon-graphics%
306   #f)
307
308 (define %funcsynopsis-decoration%
309   ;; make funcsynopsis look pretty
310   #t)
311
312 (define %html-ext%
313   ".html")
314
315 (define %generate-article-toc%
316   ;; Should a Table of Contents be produced for Articles?
317   ;; If true, a Table of Contents will be generated for each 'Article'.
318   #t)
319
320 ;; HB added next three statements 05/03/02.
321 ;;Do you want a separate page for the title?
322 (define %generate-article-titlepage-on-separate-page%
323  #t)
324
325 ;;Do you want the article toc on the titlepage or separate?
326 (define %generate-article-toc-on-titlepage%
327  #t)
328
329 ;;Titlepage Separate?
330 ;; This is the one that makes TOC only on first page!! hal.
331 (define (chunk-skip-first-element-list)
332  '())
333
334 (define %root-filename%
335   ;; The filename of the root HTML document (e.g, "index").
336   "index")
337
338 (define %generate-part-toc%
339   #t)
340
341 (define %shade-verbatim%
342   #t)
343
344 (define %use-id-as-filename%
345   ;; Use ID attributes as name for component HTML files?
346   #t)
347
348 (define %graphic-default-extension%
349   "gif")
350
351 (define %section-autolabel% #t)
352   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
353
354 ;; HB changed TOC depth to 3 levels.
355 (define (toc-depth nd)
356   3)
357
358 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
359
360 (define %body-attr%
361   ;; REFENTRY body-attr
362   ;; PURP What attributes should be hung off of BODY?
363   ;; DESC
364   ;; A list of the the BODY attributes that should be generated.
365   ;; The format is a list of lists, each interior list contains the
366   ;; name and value of a BODY attribute.
367   ;; /DESC
368   ;; AUTHOR N/A
369   ;; /REFENTRY
370   (list
371    (list "BGCOLOR" "#EEEEEE")
372    (list "TEXT" "#000000")
373    (list "LINK" "#0000FF")
374    (list "VLINK" "#840084")
375    (list "ALINK" "#0000FF")))
376
377 (define %stylesheet%
378   ;; REFENTRY stylesheet
379   ;; PURP Name of the stylesheet to use
380   ;; DESC
381   ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to
382   ;; suppress the stylesheet LINK.
383   ;; /DESC
384   ;; AUTHOR N/A
385   ;; /REFENTRY
386   "../p_doc.css")
387
388 (define %stylesheet-type%
389   ;; REFENTRY stylesheet-type
390   ;; PURP The type of the stylesheet to use
391   ;; DESC
392   ;; The type of the stylesheet to place in the HTML LINK TAG.
393   ;; /DESC
394   ;; AUTHOR N/A
395   ;; /REFENTRY
396   "text/css")
397
398 (define %css-liststyle-alist%
399   ;; REFENTRY css-liststyle-alist
400   ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS
401   ;; DESC
402   ;; If '%css-decoration%' is turned on then the list-style-type property of
403   ;; list items will be set to reflect the list item style selected in the
404   ;; DocBook instance.  This associative list maps the style type names used
405   ;; in your instance to the appropriate CSS names.  If no mapping exists,
406   ;; the name from the instance will be used.
407   ;; /DESC
408   ;; AUTHOR N/A
409   ;; /REFENTRY
410   '(("bullet" "disc")
411     ("box" "square")))
412
413 (define %css-decoration%
414   ;; REFENTRY css-decoration
415   ;; PURP Enable CSS decoration of elements
416   ;; DESC
417   ;; If '%css-decoration%' is turned on then HTML elements produced by the
418   ;; stylesheet may be decorated with STYLE attributes.  For example, the
419   ;; LI tags produced for list items may include a fragment of CSS in the
420   ;; STYLE attribute which sets the CSS property "list-style-type".
421   ;; /DESC
422   ;; AUTHOR N/A
423   ;; /REFENTRY
424   #t)
425
426 ;; HB added 2008-01-19
427 (define %html-header-tags%
428   '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html;
429 charset=ISO-8859-1"))))
430
431 </style-specification-body>
432 </style-specification>
433
434
435 <style-specification id="html-notoc" use="html">
436 <style-specification-body>
437
438 ;; ===================================================
439 ;; Vairant without TOC for the Homepage --oes 24/05/02
440 ;; ===================================================
441
442 (define %generate-article-toc%
443   ;; Should a Table of Contents be produced for Articles?
444   ;; If true, a Table of Contents will be generated for each 'Article'.
445   #f)
446
447 </style-specification-body>
448 </style-specification>
449
450 <external-specification id="docbook" document="docbook.dsl">
451
452 </style-sheet>