]> granicus.if.org Git - postgresql/commitdiff
doc: Remove obsolete set element DSSSL customizations
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 14 Aug 2014 02:10:25 +0000 (22:10 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 14 Aug 2014 02:10:25 +0000 (22:10 -0400)
We don't use set elements (collection of books) anymore, so this is just
dead code.

doc/src/sgml/stylesheet.dsl

index b4c8f1fd5af9f9a74bb97f221d50f440861522b5..635588a5273ce8460b2f85a8d9e5fad4f5b329b8 100644 (file)
 ;; The rules in the default stylesheet for productname format it as a
 ;; paragraph.  This may be suitable for productname directly within
 ;; *info, but it's nonsense when productname is used inline, as we do.
-(mode set-titlepage-recto-mode
-  (element (para productname) ($charseq$)))
-(mode set-titlepage-verso-mode
-  (element (para productname) ($charseq$)))
 (mode book-titlepage-recto-mode
   (element (para productname) ($charseq$)))
 (mode book-titlepage-verso-mode
 ;; Returns the depth of auto TOC that should be made at the nd-level
 (define (toc-depth nd)
   (cond ((string=? (gi nd) (normalize "book")) 2)
-        ((string=? (gi nd) (normalize "set")) 2)
         ((string=? (gi nd) (normalize "part")) 2)
         ((string=? (gi nd) (normalize "chapter")) 2)
         (else 1)))
 
-;; Put a horizontal line in the set TOC (just like the book TOC looks)
-(define (set-titlepage-separator side)
-  (if (equal? side 'recto)
-      (make empty-element gi: "HR")
-      (empty-sosofo)))
-
 ;; Add character encoding and time of creation into HTML header
 (define %html-header-tags%
   (list (list "META" '("HTTP-EQUIV" "Content-Type") '("CONTENT" "text/html; charset=ISO-8859-1"))