Minor change so Makefile can re-write and turn off section numbering for FAQ.
[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   ;; Privoxy READ! leave the above on one line. It is re-written by \r
92   ;; GNUmakefile for FAQ !!!!!!!!\r
93   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
94   \r
95 ;; HB changed TOC depth to 3 levels.\r
96 (define (toc-depth nd)\r
97   3)\r
98 \r
99 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
100 \r
101 (define %body-attr% \r
102   ;; REFENTRY body-attr\r
103   ;; PURP What attributes should be hung off of BODY?\r
104   ;; DESC\r
105   ;; A list of the the BODY attributes that should be generated.\r
106   ;; The format is a list of lists, each interior list contains the\r
107   ;; name and value of a BODY attribute.\r
108   ;; /DESC\r
109   ;; AUTHOR N/A\r
110   ;; /REFENTRY\r
111   (list\r
112    (list "BGCOLOR" "#EEEEEE")\r
113    (list "TEXT" "#000000")\r
114    (list "LINK" "#0000FF")\r
115    (list "VLINK" "#840084")\r
116    (list "ALINK" "#0000FF")))\r
117 \r
118 (define %stylesheet%\r
119   ;; REFENTRY stylesheet\r
120   ;; PURP Name of the stylesheet to use\r
121   ;; DESC\r
122   ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to\r
123   ;; suppress the stylesheet LINK.\r
124   ;; /DESC\r
125   ;; AUTHOR N/A\r
126   ;; /REFENTRY\r
127   "../p_doc.css")\r
128 \r
129 (define %stylesheet-type%\r
130   ;; REFENTRY stylesheet-type\r
131   ;; PURP The type of the stylesheet to use\r
132   ;; DESC\r
133   ;; The type of the stylesheet to place in the HTML LINK TAG.\r
134   ;; /DESC\r
135   ;; AUTHOR N/A\r
136   ;; /REFENTRY\r
137   "text/css")\r
138 \r
139 (define %css-liststyle-alist%\r
140   ;; REFENTRY css-liststyle-alist\r
141   ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS\r
142   ;; DESC\r
143   ;; If '%css-decoration%' is turned on then the list-style-type property of\r
144   ;; list items will be set to reflect the list item style selected in the\r
145   ;; DocBook instance.  This associative list maps the style type names used\r
146   ;; in your instance to the appropriate CSS names.  If no mapping exists,\r
147   ;; the name from the instance will be used.\r
148   ;; /DESC\r
149   ;; AUTHOR N/A\r
150   ;; /REFENTRY\r
151   '(("bullet" "disc")\r
152     ("box" "square")))\r
153 \r
154 (define %css-decoration%\r
155   ;; REFENTRY css-decoration\r
156   ;; PURP Enable CSS decoration of elements\r
157   ;; DESC\r
158   ;; If '%css-decoration%' is turned on then HTML elements produced by the\r
159   ;; stylesheet may be decorated with STYLE attributes.  For example, the\r
160   ;; LI tags produced for list items may include a fragment of CSS in the\r
161   ;; STYLE attribute which sets the CSS property "list-style-type".\r
162   ;; /DESC\r
163   ;; AUTHOR N/A\r
164   ;; /REFENTRY\r
165   #t)\r
166 \r
167 \r
168 </style-specification-body>\r
169 </style-specification>\r
170 \r
171 <external-specification id="docbook" document="docbook.dsl">\r
172 \r
173 </style-sheet>\r