mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-01-02 21:24:40 +00:00
db2html.dsl: override $refentry-body$ from dbrfntry.dsl to add a <hr> after the
refentry title <h1>.
This commit is contained in:
parent
372b45d7b0
commit
61d0e803c6
1 changed files with 15 additions and 0 deletions
15
db2html.dsl
15
db2html.dsl
|
@ -19,6 +19,21 @@
|
|||
;; Should verbatim environments be shaded?
|
||||
#t)
|
||||
|
||||
; Override $refentry-body$ from dbrfntry.dsl
|
||||
; to add a hr after the refentry title h1.
|
||||
(define ($refentry-body$)
|
||||
(let ((id (element-id (current-node))))
|
||||
(make sequence
|
||||
(make element gi: "H1"
|
||||
(make sequence
|
||||
(make element gi: "A"
|
||||
attributes: (list (list "NAME" id))
|
||||
(empty-sosofo))
|
||||
(element-title-sosofo (current-node))))
|
||||
; Now add hr element after h1.
|
||||
(make empty-element gi: "HR")
|
||||
(process-children))))
|
||||
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
<external-specification id="docbook" document="dbstyle">
|
||||
|
|
Loading…
Reference in a new issue