1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
7 <style-specification id="print" use="print-stylesheet">
8 <style-specification-body>
10 ;; I was hoping that this would take out the many blank pages in the
11 ;; PDF file, but it doesn't, it just slides the page numbers over.
12 (define %two-side% #f)
14 (define %generate-book-titlepage% #t)
16 ;;Titlepage Not Separate
17 (define (chunk-skip-first-element-list)
18 (list (normalize "sect1")
19 (normalize "section")))
22 ;(define (chunk-skip-first-element-list)
25 (define (list-element-list)
26 ;; fixes bug in Table of Contents generation
29 (define (toc-depth nd)
32 ;; This seems to have no affect
33 (define %generate-book-titlepage-on-separate-page% #f)
35 (define %body-start-indent%
36 ;; Default indent of body text
39 (define %para-indent-firstpara%
40 ;; First line start-indent for the first paragraph
44 ;; First line start-indent for paragraphs (other than the first)
47 (define %block-start-indent%
48 ;; Extra start-indent for block-elements
51 ;;Define distance between paragraphs
55 ;;Define distance between block elements (figures, tables, etc.).
58 ;; (* %para-sep% 2.0))
61 ;; Allow automatic hyphenation?
64 (define %left-margin% 5pi)
65 (define %right-margin% 5pi)
66 (define %top-margin% 5pi)
67 (define %bottom-margin% 5pi)
69 (define %footer-margin% 2pi)
70 (define %header-margin% 2pi)
72 (define %line-spacing-factor% 1.3)
73 ;; Factor used to calculate leading
74 ;; The leading is calculated by multiplying the current font size by the
75 ;; '%line-spacing-factor%'. For example, if the font size is 10pt and
76 ;; the '%line-spacing-factor%' is 1.1, then the text will be
77 ;; printed "10-on-11".
79 (define %head-before-factor%
80 ;; Factor used to calculate space above a title
81 ;; The space before a title is calculated by multiplying the font size
82 ;; used in the title by the '%head-before-factor%'.
86 (define %head-after-factor%
87 ;; Factor used to calculate space below a title
88 ;; The space after a title is calculated by multiplying the font size used
89 ;; in the title by the '%head-after-factor%'.
92 (define %input-whitespace-treatment% 'collapse)
94 (define ($generate-book-lot-list$)
95 ;; Which Lists of Titles should be produced for Books?
99 ;; Are we using the TeX backend?
100 ;; This parameter exists so that '-V tex-backend' can be used on the
101 ;; command line to explicitly select the TeX backend.
104 </style-specification-body>
105 </style-specification>
107 <external-specification id="print-stylesheet" document="print-ss">