have the 'print' section of the stylesheet convert &code; strings
authorLee <ler762@users.sourceforge.net>
Tue, 23 Oct 2018 03:22:11 +0000 (23:22 -0400)
committerLee <ler762@users.sourceforge.net>
Tue, 23 Oct 2018 03:22:11 +0000 (23:22 -0400)
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

doc/source/ldp.dsl.in

index 1c0ffb0..95dc16b 100644 (file)
@@ -46,8 +46,8 @@
   ;; Put chapter labels in running heads?
   #t)
 
   ;; 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)
 (declare-characteristic preserve-sdata?
   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
   #f)
 </style-specification>
 
 
 </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
 <!--
 ;; ===================================================
 ;; customize the html stylesheet; borrowed from Cygnus