Turn on the use of CSS stylesheets, reading from handbook.css (this
will change shortly). Change the represenation of <warning> and <caution> to be similar to the representations for <note>, <tip>, and <important>.
This commit is contained in:
parent
9f73002a0c
commit
92db264b4a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=3872
1 changed files with 19 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
|||
|
||||
<!-- Configure the stylesheet using documented variables -->
|
||||
|
||||
(define %stylesheet%
|
||||
"handbook.css")
|
||||
|
||||
(define %gentext-nav-use-tables%
|
||||
;; Use tables to build the navigation headers and footers?
|
||||
#t)
|
||||
|
@ -57,6 +60,22 @@
|
|||
|
||||
(element application ($bold-seq$))
|
||||
|
||||
<!-- Warnings and cautions are put in boxed tables to make them stand
|
||||
out. The same effect can be better achieved using CSS or similar,
|
||||
so have them treated the same as <important>, <note>, and <tip>
|
||||
-->
|
||||
(element warning ($admonition$))
|
||||
(element (warning title) (empty-sosofo))
|
||||
(element (warning para) ($admonpara$))
|
||||
(element (warning simpara) ($admonpara$))
|
||||
(element caution ($admonition$))
|
||||
(element (caution title) (empty-sosofo))
|
||||
(element (caution para) ($admonpara$))
|
||||
(element (caution simpara) ($admonpara$))
|
||||
|
||||
(define usen-warning-label-title-sep ": ")
|
||||
(define usen-caution-label-title-sep ": ")
|
||||
|
||||
<!-- Tell the stylesheet about our local customisations -->
|
||||
|
||||
(element hostid ($mono-seq$))
|
||||
|
|
Loading…
Reference in a new issue