10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
6.0
6.1
6.2
6.2.0
6.2.0-rc1
6.2.0-rc2
6.3
6.3-rc1
6.3-rc2
6.3-rc3
7.10
7.4
7.5
7.6
7.6-blfs
7.6-systemd
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
basic
bdubbs/svn
elogind
gimp3
gnome
kde5-13430
kde5-14269
kde5-14686
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
krejzi/svn
lazarus
lxqt
nosym
perl-modules
plabs/newcss
plabs/python-mods
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
systemd-11177
systemd-13485
trunk
upgradedb
v1_0
v5_0
v5_0-pre1
v5_1
v5_1-pre1
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 87930b0f was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago |
Initial revision
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
---|
2 | <!ENTITY docbook.dsl SYSTEM "docbook.dsl" CDATA dsssl>
|
---|
3 | ]>
|
---|
4 |
|
---|
5 | <style-sheet>
|
---|
6 |
|
---|
7 | <style-specification use="docbook">
|
---|
8 | <style-specification-body>
|
---|
9 |
|
---|
10 | (define %generate-legalnotice-link%
|
---|
11 | ;; put the legal notice in a separate file
|
---|
12 | #t)
|
---|
13 |
|
---|
14 | (define ($legalnotice-link-file$ legalnotice)
|
---|
15 | ;; filename of the legalnotice file
|
---|
16 | (string-append "legalnotice"%html-ext%))
|
---|
17 |
|
---|
18 | (define %html-ext%
|
---|
19 | ;; html extenstion
|
---|
20 | ".html")
|
---|
21 |
|
---|
22 | (define %root-filename%
|
---|
23 | ;; index file of the book
|
---|
24 | "index")
|
---|
25 |
|
---|
26 | (define %use-id-as-filename%
|
---|
27 | ;; filenames same as id attribute in title tags
|
---|
28 | #t)
|
---|
29 |
|
---|
30 | (define %body-attr%
|
---|
31 | ;; html body settings
|
---|
32 | (list
|
---|
33 | (list "BGCOLOR" "#FFFFFF")
|
---|
34 | (list "TEXT" "#000000")
|
---|
35 | (list "LINK" "#0000FF")
|
---|
36 | (list "VLINK" "#840084")
|
---|
37 | (list "ALINK" "#006000")))
|
---|
38 |
|
---|
39 | (define (chunk-skip-first-element-list)
|
---|
40 | ;; forces the Table of Contents on separate page
|
---|
41 | '())
|
---|
42 |
|
---|
43 | (define (list-element-list)
|
---|
44 | ;; fixes bug in Table of Contents generation
|
---|
45 | '())
|
---|
46 |
|
---|
47 | (define %shade-verbatim%
|
---|
48 | ;; verbatim sections will be shaded if t(rue)
|
---|
49 | #t)
|
---|
50 |
|
---|
51 | ;;(define %section-autolabel%
|
---|
52 | ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
|
---|
53 | ;;#t)
|
---|
54 |
|
---|
55 | (element emphasis
|
---|
56 | ;; make role=strong equate to bold for emphasis tag
|
---|
57 | (if (equal? (attribute-string "role") "strong")
|
---|
58 | (make element gi: "STRONG" (process-children))
|
---|
59 | (make element gi: "EM" (process-children))))
|
---|
60 |
|
---|
61 |
|
---|
62 | </style-specification-body>
|
---|
63 | </style-specification>
|
---|
64 |
|
---|
65 | <external-specification id="docbook" document="docbook.dsl">
|
---|
66 |
|
---|
67 | </style-sheet>
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.