From: Lee Date: Tue, 23 Oct 2018 03:22:11 +0000 (-0400) Subject: have the 'print' section of the stylesheet convert &code; strings X-Git-Tag: v_3_0_27~41 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=d6306f5e790cd2582b7d1094c4f4cb2973e44b73;ds=sidebyside have the 'print' section of the stylesheet convert &code; strings We need docbook to convert &code; strings to latin1/ISO-8859 when creating text files like AUTHORS or README Add a style-specification id="print-notoc" section so we can create text files without a table of contents --- diff --git a/doc/source/ldp.dsl.in b/doc/source/ldp.dsl.in index 1c0ffb0e..95dc16b6 100644 --- a/doc/source/ldp.dsl.in +++ b/doc/source/ldp.dsl.in @@ -46,8 +46,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) @@ -246,6 +246,22 @@ + + + +;; =================================================== +;; 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) + + + + +