Add handlers for <chapterinfo>.
Also add a handler for <contrib> inside of <author> tags. This should allow us to more formally define contributors to the Handbook.
This commit is contained in:
parent
741499c6ac
commit
2a6d5f6c26
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9947
1 changed files with 13 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.35 2001/07/12 01:40:31 murray Exp $ -->
|
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.36 2001/07/16 05:00:20 murray Exp $ -->
|
||||||
|
|
||||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||||
<!ENTITY % output.html "IGNORE">
|
<!ENTITY % output.html "IGNORE">
|
||||||
|
@ -347,6 +347,18 @@
|
||||||
to automatically have the opening and closing braces inserted,
|
to automatically have the opening and closing braces inserted,
|
||||||
and it should be in a mono-spaced font. -->
|
and it should be in a mono-spaced font. -->
|
||||||
|
|
||||||
|
(element chapterinfo
|
||||||
|
(process-children))
|
||||||
|
(element (chapterinfo authorgroup author)
|
||||||
|
(make sequence
|
||||||
|
(process-node-list (select-elements (descendants (current-node))
|
||||||
|
(normalize "contrib")))
|
||||||
|
(literal (author-list-string))))
|
||||||
|
(element (author contrib)
|
||||||
|
(make sequence
|
||||||
|
(process-children)
|
||||||
|
(literal " by ")))
|
||||||
|
|
||||||
(element sgmltag ($mono-seq$
|
(element sgmltag ($mono-seq$
|
||||||
(make sequence
|
(make sequence
|
||||||
(literal "<")
|
(literal "<")
|
||||||
|
|
Loading…
Reference in a new issue