1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
|
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
]>
<!--
Document: website.dsl
Version: 0.2
Author: Johannes Erdfelt <johannes@erdfelt.com>
This stylesheet handles the website (html) and rtf/ps (print) stylesheets
-->
<style-sheet>
<style-specification id="print" use="docbook">
<style-specification-body> ;; ==============================
;; customize the print stylesheet
;; ==============================
(declare-characteristic preserve-sdata?
;; this is necessary because right now jadetex does not understand
;; symbolic entities, whereas things work well with numeric entities.
"UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
#f)
(define %generate-article-toc%
;; Should a Table of Contents be produced for Articles?
#t)
(define (toc-depth nd)
2)
(define %generate-article-titlepage-on-separate-page%
;; Should the article title page be on a separate page?
#t)
(define %section-autolabel%
;; Are sections enumerated?
#t)
(define %footnote-ulinks%
;; Generate footnotes for ULinks?
#f)
(define %bop-footnotes%
;; Make "bottom-of-page" footnotes?
#f)
(define %body-start-indent%
;; Default indent of body text
0pi)
(define %para-indent-firstpara%
;; First line start-indent for the first paragraph
0pt)
(define %para-indent%
;; First line start-indent for paragraphs (other than the first)
0pt)
(define %block-start-indent%
;; Extra start-indent for block-elements
0pt)
(define formal-object-float
;; Do formal objects float?
#t)
(define %hyphenation%
;; Allow automatic hyphenation?
#t)
(define %admon-graphics%
;; Use graphics in admonitions?
#f)
</style-specification-body>
</style-specification>
<!--
;; ===================================================
;; customize the html stylesheet; borrowed from Cygnus
;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)
;; ===================================================
-->
<style-specification id="html" use="docbook">
<style-specification-body>
;; =========================
;; Indexes
;; Returns the depth of the auto-generated TOC (table of contents) that
;; should be made at the nd-level
(define (toc-depth nd)
(if (string=? (gi nd) "book")
2 ; the depth of the top-level TOC
2 ; the depth of all other TOCs
))
(define %page-n-columns%
;; Sets the number of columns on each page
2)
(define %generate-article-toc%
#t)
(define %header-navigation%
#t)
(define %footer-navigation%
#t)
(define %gentext-nav-use-tables%
#t)
(define %gentext-nav-tblwidth%
"100%")
(define %indent-programlisting-lines%
" ")
(define %indent-screen-lines%
" ")
(define %shade-verbatim%
#t)
(define ($shade-verbatim-attr$)
(list
(list "BORDER" "0")
(list "BGCOLOR" "#E0E0E0")
(list "WIDTH" ($table-width$))))
(define %callout-default-col%
70)
(define biblio-number
#t)
(define %graphic-default-extension%
"jpg")
(define %graphic-extensions%
'("gif" "jpg" "jpeg" "png" "tif" "tiff" "eps" "epsf"))
(define %stylesheet%
"/base.css")
(define %stylesheet-type%
"text/css")
(define %use-id-as-filename%
#t)
(define use-output-dir
#t)
(define %output-dir%
"html")
(define %html-ext%
".html")
(define %root-filename%
"index")
(define %html-use-lang-in-filename%
#f)
(define %html40%
#t)
(define %fix-para-wrappers%
#t)
(define %section-autolabel%
#t)
(define (chunk-skip-first-element-list)
'())
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>
|