2001-09-25 22:05:20 +00:00
|
|
|
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
|
|
|
<!ENTITY % html "IGNORE">
|
|
|
|
<![%html;[
|
|
|
|
<!ENTITY % print "IGNORE">
|
2002-01-15 04:13:58 +00:00
|
|
|
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
|
2001-09-25 22:05:20 +00:00
|
|
|
]]>
|
|
|
|
<!ENTITY % print "INCLUDE">
|
|
|
|
<![%print;[
|
2002-01-15 04:13:58 +00:00
|
|
|
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
|
2001-09-25 22:05:20 +00:00
|
|
|
]]>
|
|
|
|
]>
|
|
|
|
|
|
|
|
<style-sheet>
|
|
|
|
|
|
|
|
<style-specification id="print" use="docbook">
|
|
|
|
<style-specification-body>
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
;; ==============================
|
2001-09-25 22:05:20 +00:00
|
|
|
;; customize the print stylesheet
|
2002-01-15 04:13:58 +00:00
|
|
|
;; ==============================
|
2001-09-25 22:05:20 +00:00
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(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?"
|
2001-09-25 22:05:20 +00:00
|
|
|
#f)
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define (toc-depth nd)
|
|
|
|
2)
|
|
|
|
|
|
|
|
(define %section-autolabel%
|
2001-09-25 22:05:20 +00:00
|
|
|
;; Are sections enumerated?
|
|
|
|
#t)
|
2002-01-15 04:13:58 +00:00
|
|
|
|
|
|
|
(define %body-start-indent%
|
|
|
|
;; Default indent of body text
|
|
|
|
0pi)
|
|
|
|
|
|
|
|
(define %para-indent-firstpara%
|
|
|
|
;; First line start-indent for the first paragraph
|
|
|
|
12pt)
|
|
|
|
|
|
|
|
(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?
|
2001-09-25 22:05:20 +00:00
|
|
|
#t)
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define %hyphenation%
|
|
|
|
;; Allow automatic hyphenation?
|
|
|
|
#t)
|
|
|
|
|
|
|
|
(define %admon-graphics%
|
|
|
|
;; Use graphics in admonitions?
|
2002-01-17 04:09:16 +00:00
|
|
|
#f)
|
2001-09-25 22:05:20 +00:00
|
|
|
|
2002-01-17 04:09:16 +00:00
|
|
|
(define %visual-acuity%
|
|
|
|
;; General measure of document text size
|
|
|
|
;; "normal"
|
|
|
|
;; "presbyopic"
|
|
|
|
;; "large-type"
|
|
|
|
"presbyopic")
|
2001-09-25 22:05:20 +00:00
|
|
|
|
|
|
|
</style-specification-body>
|
|
|
|
</style-specification>
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
|
2001-09-25 22:05:20 +00:00
|
|
|
<!--
|
2002-01-15 04:13:58 +00:00
|
|
|
;; ===================================================
|
|
|
|
;; customize the html stylesheet; borrowed from Cygnus
|
|
|
|
;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)
|
|
|
|
;; ===================================================
|
2001-09-25 22:05:20 +00:00
|
|
|
-->
|
2002-01-15 04:13:58 +00:00
|
|
|
|
2001-09-25 22:05:20 +00:00
|
|
|
<style-specification id="html" use="docbook">
|
|
|
|
<style-specification-body>
|
|
|
|
|
|
|
|
(declare-characteristic preserve-sdata?
|
2002-01-15 04:13:58 +00:00
|
|
|
;; 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)
|
2001-09-25 22:05:20 +00:00
|
|
|
|
|
|
|
(define %generate-legalnotice-link%
|
2002-01-15 04:13:58 +00:00
|
|
|
;; put the legal notice in a separate file
|
2001-09-25 22:05:20 +00:00
|
|
|
#t)
|
|
|
|
|
|
|
|
(define %admon-graphics-path%
|
2002-01-15 04:13:58 +00:00
|
|
|
;; use graphics in admonitions, set their
|
|
|
|
"../images/")
|
|
|
|
|
2001-09-25 22:05:20 +00:00
|
|
|
(define %admon-graphics%
|
|
|
|
#f)
|
|
|
|
|
|
|
|
(define %funcsynopsis-decoration%
|
2002-01-15 04:13:58 +00:00
|
|
|
;; make funcsynopsis look pretty
|
2001-09-25 22:05:20 +00:00
|
|
|
#t)
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define %html-ext%
|
|
|
|
".html")
|
2001-09-25 22:05:20 +00:00
|
|
|
|
|
|
|
(define %generate-article-toc%
|
|
|
|
;; Should a Table of Contents be produced for Articles?
|
|
|
|
;; If true, a Table of Contents will be generated for each 'Article'.
|
|
|
|
#t)
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define %generate-part-toc%
|
|
|
|
#t)
|
|
|
|
|
|
|
|
(define %generate-article-titlepage%
|
|
|
|
#t)
|
|
|
|
|
|
|
|
(define (chunk-skip-first-element-list)
|
|
|
|
;; forces the Table of Contents on separate page
|
|
|
|
'())
|
|
|
|
|
|
|
|
(define %root-filename%
|
|
|
|
;; The filename of the root HTML document (e.g, "index").
|
|
|
|
"hamlib-doc")
|
2001-09-25 22:05:20 +00:00
|
|
|
|
|
|
|
(define %shade-verbatim%
|
|
|
|
#t)
|
|
|
|
|
|
|
|
(define %use-id-as-filename%
|
|
|
|
;; Use ID attributes as name for component HTML files?
|
|
|
|
#t)
|
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define %graphic-default-extension%
|
|
|
|
"gif")
|
|
|
|
|
|
|
|
(define %section-autolabel%
|
|
|
|
;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
|
|
|
|
#t)
|
2001-09-25 22:05:20 +00:00
|
|
|
|
2002-01-15 04:13:58 +00:00
|
|
|
(define (toc-depth nd)
|
|
|
|
;; more depth, 2 levels, to toc, instead of flat hierarchy
|
|
|
|
2)
|
2001-09-25 22:05:20 +00:00
|
|
|
|
|
|
|
</style-specification-body>
|
|
|
|
</style-specification>
|
|
|
|
|
|
|
|
<external-specification id="docbook" document="docbook.dsl">
|
|
|
|
|
|
|
|
</style-sheet>
|