832004407d6d9ebfb2b651919980c23a6db34ada
[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/html/docbook.dsl" CDATA dsssl>\r
10 ]]>\r
11 ]>\r
12 \r
13 <style-sheet>\r
14 \r
15 <style-specification id="print" use="docbook">\r
16 <style-specification-body> \r
17 \r
18 ;; ==============================\r
19 ;; customize the print stylesheet\r
20 ;; ==============================\r
21 \r
22 </style-specification-body>\r
23 </style-specification>\r
24 \r
25 \r
26 <!--\r
27 ;; ===================================================\r
28 ;; customize the html stylesheet; borrowed from Cygnus\r
29 ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)\r
30 ;; ===================================================\r
31 -->\r
32 \r
33 <style-specification id="html" use="docbook">\r
34 <style-specification-body> \r
35 \r
36 ;; this is necessary because right now jadetex does not understand\r
37 ;; symbolic entities, whereas things work well with numeric entities.\r
38 (declare-characteristic preserve-sdata?\r
39   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
40   #f)\r
41 \r
42 ;; put the legal notice in a separate file\r
43 (define %generate-legalnotice-link%\r
44   #t)\r
45 \r
46 ;; use graphics in admonitions, and have their path be "stylesheet-images"\r
47 ;; NO: they do not yet look very good\r
48 (define %admon-graphics-path%\r
49   "./stylesheet-images/")\r
50 \r
51 (define %admon-graphics%\r
52   #f)\r
53 \r
54 (define %funcsynopsis-decoration%\r
55   ;; make funcsynopsis look pretty\r
56   #t)\r
57 \r
58 (define %html-ext%\r
59   ".html")\r
60 \r
61 (define %generate-article-toc% \r
62   ;; Should a Table of Contents be produced for Articles?\r
63   ;; If true, a Table of Contents will be generated for each 'Article'.\r
64   #t)\r
65 \r
66 (define %root-filename%\r
67   ;; The filename of the root HTML document (e.g, "index").\r
68   "index")\r
69 \r
70 (define %generate-part-toc%\r
71   #t)\r
72 \r
73 (define %shade-verbatim%\r
74   #t)\r
75 \r
76 (define %use-id-as-filename%\r
77   ;; Use ID attributes as name for component HTML files?\r
78   #t)\r
79 \r
80 (define %graphic-default-extension% \r
81   "gif")\r
82 \r
83 (define %section-autolabel%\r
84   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
85   #t)\r
86 \r
87 (define (toc-depth nd)\r
88   3)\r
89 \r
90 </style-specification-body>\r
91 </style-specification>\r
92 \r
93 <external-specification id="docbook" document="docbook.dsl">\r
94 \r
95 </style-sheet>\r