bdr: doc: Always generate TOC even if section only has single entry.
authorPetr Jelinek <pjmodos@pjmodos.net>
Mon, 23 Mar 2015 00:16:09 +0000 (01:16 +0100)
committerPetr Jelinek <pjmodos@pjmodos.net>
Mon, 23 Mar 2015 00:16:09 +0000 (01:16 +0100)
doc/stylesheet.dsl

index 0121e1e59e14e334cbe2d8eb8b60a574e64b7f4b..c9a764e2937eb8da68421a8125ce30b0669b0788 100644 (file)
@@ -42,6 +42,9 @@
 ;; Show comments during the development stage.
 (define %show-comments%         draft-mode)
 
+;; Force a chapter TOC even if it includes only a single entry
+(define %force-chapter-toc% #t)
+
 ;; Don't append period if run-in title ends with any of these
 ;; characters.  We had to add the colon here.  This is fixed in
 ;; stylesheets version 1.71, so it can be removed sometime.