new stylesheet for docs. new stylesheet for web.
[privoxy.git] / doc / source / ldp.dsl
index 4c2578b..e4352a5 100644 (file)
 ]]>\r
 ]>\r
 \r
+<!--\r
+\r
+;; borrowed from the LDP stylesheet, with modifications, HB.\r
+;; Added support for css 03/20/02, and other mods.\r
+\r
+-->\r
+\r
 <style-sheet>\r
 \r
 <style-specification id="print" use="docbook">\r
   ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
   #t)\r
 \r
+;; HB changed TOC depth to 3 levels.\r
 (define (toc-depth nd)\r
-  2)\r
+  3)\r
+\r
+;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+\r
+(define %body-attr% \r
+  ;; REFENTRY body-attr\r
+  ;; PURP What attributes should be hung off of BODY?\r
+  ;; DESC\r
+  ;; A list of the the BODY attributes that should be generated.\r
+  ;; The format is a list of lists, each interior list contains the\r
+  ;; name and value of a BODY attribute.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  (list\r
+   (list "BGCOLOR" "#EEEEEE")\r
+   (list "TEXT" "#000000")\r
+   (list "LINK" "#0000FF")\r
+   (list "VLINK" "#840084")\r
+   (list "ALINK" "#0000FF")))\r
+\r
+(define %stylesheet%\r
+  ;; REFENTRY stylesheet\r
+  ;; PURP Name of the stylesheet to use\r
+  ;; DESC\r
+  ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to\r
+  ;; suppress the stylesheet LINK.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "../p_doc.css")\r
+\r
+(define %stylesheet-type%\r
+  ;; REFENTRY stylesheet-type\r
+  ;; PURP The type of the stylesheet to use\r
+  ;; DESC\r
+  ;; The type of the stylesheet to place in the HTML LINK TAG.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "text/css")\r
+\r
+(define %css-liststyle-alist%\r
+  ;; REFENTRY css-liststyle-alist\r
+  ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then the list-style-type property of\r
+  ;; list items will be set to reflect the list item style selected in the\r
+  ;; DocBook instance.  This associative list maps the style type names used\r
+  ;; in your instance to the appropriate CSS names.  If no mapping exists,\r
+  ;; the name from the instance will be used.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  '(("bullet" "disc")\r
+    ("box" "square")))\r
+\r
+(define %css-decoration%\r
+  ;; REFENTRY css-decoration\r
+  ;; PURP Enable CSS decoration of elements\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then HTML elements produced by the\r
+  ;; stylesheet may be decorated with STYLE attributes.  For example, the\r
+  ;; LI tags produced for list items may include a fragment of CSS in the\r
+  ;; STYLE attribute which sets the CSS property "list-style-type".\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  #t)\r
+\r
 \r
 </style-specification-body>\r
 </style-specification>\r