1 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
2 <!ENTITY docbook.dsl PUBLIC
3 "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
7 <style-specification use="docbook">
8 <style-specification-body>
10 ;; your stuff goes here...
12 (define %generate-article-titlepage% #t)
13 (define %generate-article-toc% #t)
14 (define %generate-article-titlepage-on-separate-page% #t)
15 (define %generate-article-toc-on-titlepage% #f)
16 (define %article-page-number-restart% #t)
18 (define %chapter-autolabel% #t)
19 (define %section-autolabel% #t)
20 (define (toc-depth nd) 3)
22 ; === Media objects ===
23 (define preferred-mediaobject-extensions ;; this magic allows to use different graphical
24 (list "eps")) ;; formats for printing and putting online
25 (define acceptable-mediaobject-extensions
27 (define preferred-mediaobject-notations
29 (define acceptable-mediaobject-notations
30 (list "linespecific"))
33 (define %head-after-factor% 0.2) ;; not much whitespace after orderedlist head
34 (define ($paragraph$) ;; more whitespace after paragraph than before
36 first-line-start-indent: (if (is-first-para)
37 %para-indent-firstpara%
39 space-before: (* %para-sep% 4)
40 space-after: (/ %para-sep% 4)
41 quadding: %default-quadding%
42 hyphenate?: %hyphenation%
43 language: (dsssl-language-code)
46 </style-specification-body>
47 </style-specification>
48 <external-specification id="docbook" document="docbook.dsl">