have <screen> and <programlisting> blocks indented by two spaces
[privoxy.git] / doc / source / ldp.dsl.in
index 1c0ffb0..1dc9292 100644 (file)
 ;; see http://docbook.sourceforge.net/projects/dsssl/doc/print.html
 ;;
 
+(define %indent-programlisting-lines%
+  ;; Indent lines in a 'ProgramListing'?
+  ;; "#f" or string to be used as the indent on 'programlisting'
+  "  ")
+
 (define %indent-screen-lines%
   ;; Indent lines in a 'Screen'?
   ;; "#f" or string to be used as the indent on 'screen'
-  "")
+  "  ")
 
 (define %callout-fancy-bug%
   ;; Use fancy callout bugs?
@@ -46,8 +51,8 @@
   ;; Put chapter labels in running heads?
   #t)
 
-;; this is necessary because right now jadetex does not understand
-;; symbolic entities, whereas things work well with numeric entities.
+;; this is the 'print' portion of the stylesheet so we want to
+;; convert ampersand-code strings to character values
 (declare-characteristic preserve-sdata?
   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
   #f)
 </style-specification>
 
 
+<style-specification id="print-notoc" use="print">
+<style-specification-body>
+
+;; ===================================================
+;; Variant without TOC
+;; ===================================================
+
+(define %generate-article-toc%
+  ;; Should a Table of Contents be produced for Articles?
+  ;; If true, a Table of Contents will be generated for each 'Article'.
+  #f)
+
+</style-specification-body>
+</style-specification>
+
+
 <!--
 ;; ===================================================
 ;; customize the html stylesheet; borrowed from Cygnus
   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
   #t)
 
+(define %indent-programlisting-lines%
+  ;; Indent lines in a 'ProgramListing'?
+  ;; "#f" or string to be used as the indent on 'programlisting'
+  "  ")
+
+(define %indent-screen-lines%
+  ;; Indent lines in a 'Screen'?
+  ;; "#f" or string to be used as the indent on 'screen'
+  "  ")
+
 ;; put the legal notice in a separate file
 (define %generate-legalnotice-link%
   #t)