Susan Farley | 3b10efe | 2001-09-26 23:02:31 +0000 | [diff] [blame^] | 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> |
| 3 | ]> |
| 4 | |
| 5 | <style-sheet> |
| 6 | |
| 7 | <style-specification id="print" use="print-stylesheet"> |
| 8 | <style-specification-body> |
| 9 | |
| 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) |
| 13 | |
| 14 | (define %generate-book-titlepage% #t) |
| 15 | |
| 16 | ;;Titlepage Not Separate |
| 17 | (define (chunk-skip-first-element-list) |
| 18 | (list (normalize "sect1") |
| 19 | (normalize "section"))) |
| 20 | |
| 21 | ;;Titlepage Separate? |
| 22 | ;(define (chunk-skip-first-element-list) |
| 23 | ; '()) |
| 24 | |
| 25 | (define (list-element-list) |
| 26 | ;; fixes bug in Table of Contents generation |
| 27 | '()) |
| 28 | |
| 29 | (define (toc-depth nd) |
| 30 | 2) |
| 31 | |
| 32 | ;; This seems to have no affect |
| 33 | (define %generate-book-titlepage-on-separate-page% #f) |
| 34 | |
| 35 | (define %body-start-indent% |
| 36 | ;; Default indent of body text |
| 37 | 2pi) |
| 38 | |
| 39 | (define %para-indent-firstpara% |
| 40 | ;; First line start-indent for the first paragraph |
| 41 | 0pt) |
| 42 | |
| 43 | (define %para-indent% |
| 44 | ;; First line start-indent for paragraphs (other than the first) |
| 45 | 0pt) |
| 46 | |
| 47 | (define %block-start-indent% |
| 48 | ;; Extra start-indent for block-elements |
| 49 | 2pt) |
| 50 | |
| 51 | ;;Define distance between paragraphs |
| 52 | (define %para-sep% |
| 53 | (/ %bf-size% 2.0)) |
| 54 | |
| 55 | ;;Define distance between block elements (figures, tables, etc.). |
| 56 | (define %block-sep% |
| 57 | (* %para-sep% 1.0)) |
| 58 | ;; (* %para-sep% 2.0)) |
| 59 | |
| 60 | (define %hyphenation% |
| 61 | ;; Allow automatic hyphenation? |
| 62 | #t) |
| 63 | |
| 64 | (define %left-margin% 5pi) |
| 65 | (define %right-margin% 5pi) |
| 66 | (define %top-margin% 5pi) |
| 67 | (define %bottom-margin% 5pi) |
| 68 | |
| 69 | (define %footer-margin% 2pi) |
| 70 | (define %header-margin% 2pi) |
| 71 | |
| 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". |
| 78 | |
| 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%'. |
| 83 | ;; 0.75) |
| 84 | 0.5) |
| 85 | |
| 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%'. |
| 90 | 0.5) |
| 91 | |
| 92 | (define %input-whitespace-treatment% 'collapse) |
| 93 | |
| 94 | (define ($generate-book-lot-list$) |
| 95 | ;; Which Lists of Titles should be produced for Books? |
| 96 | (list )) |
| 97 | |
| 98 | (define tex-backend |
| 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. |
| 102 | #t) |
| 103 | |
| 104 | </style-specification-body> |
| 105 | </style-specification> |
| 106 | |
| 107 | <external-specification id="print-stylesheet" document="print-ss"> |
| 108 | |
| 109 | </style-sheet> |
| 110 | |
| 111 | |