summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès2008-01-21 10:47:56 +0100
committerLudovic Courtès2008-01-21 10:47:56 +0100
commitdf71d7e9be270f81762288767518e37069f98c99 (patch)
tree7111053bc20dab2cededd8581187b692182f03c8
parent0d91a697e875c408271e75528635db7ee21fb723 (diff)
downloadskribilo-df71d7e9be270f81762288767518e37069f98c99.tar.gz
skribilo-df71d7e9be270f81762288767518e37069f98c99.tar.lz
skribilo-df71d7e9be270f81762288767518e37069f98c99.zip
doc: Use `web-book2' instead of `web-book'.
-rw-r--r--doc/user/user.skb12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/user/user.skb b/doc/user/user.skb
index f78f1b0..a360fbd 100644
--- a/doc/user/user.skb
+++ b/doc/user/user.skb
@@ -1,6 +1,6 @@
;;; user.skb -- The Skribilo user manual.
;;;
-;;; Copyright 2005, 2006, 2007 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright 2005, 2006, 2007, 2008 Ludovic Courtès <ludo@gnu.org>
;;; Copyright 2001, 2002, 2003, 2004 Manuel Serrano
;;;
;;;
@@ -22,8 +22,7 @@
;*---------------------------------------------------------------------*/
;* The Skribilo documentation style */
;*---------------------------------------------------------------------*/
-(use-modules (skribilo package web-book)
- (skribilo documentation env)
+(use-modules (skribilo documentation env)
(skribilo documentation manual)
(skribilo documentation api))
@@ -33,7 +32,8 @@
;*---------------------------------------------------------------------*/
(use-modules (skribilo package eq)
(skribilo package pie)
- (skribilo package slide))
+ (skribilo package slide)
+ (skribilo package web-book2))
;; Load the compile-time configuration file.
(load "doc-config.scm")
@@ -79,6 +79,10 @@
If you are new to Skribilo, please read the ,(ref :ident "intro"
:text [introduction]) first.]))))
+(if (engine-format? "html")
+ ;; Produce a complete table of contents on the main HTML page.
+ (toc :chapter #t :section #t :subsection #t))
+
;;; Introduction
(chapter :title "Introduction" :ident "intro" :number #f :toc #t :file #f