2001-05-03 21:59:35 +00:00
|
|
|
<!-- $FreeBSD$ -->
|
|
|
|
|
|
|
|
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
|
|
|
<!ENTITY release.dsl PUBLIC "-//FreeBSD//DOCUMENT Release Notes DocBook Language Neutral Stylesheet//EN" CDATA DSSSL>
|
|
|
|
<!ENTITY % output.html "IGNORE">
|
|
|
|
<!ENTITY % output.print "IGNORE">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<style-sheet>
|
|
|
|
<style-specification use="docbook">
|
|
|
|
<style-specification-body>
|
|
|
|
|
|
|
|
<![ %output.html; [
|
|
|
|
(define ($email-footer$)
|
|
|
|
(make sequence
|
|
|
|
(make element gi: "p"
|
|
|
|
attributes: (list (list "align" "center"))
|
|
|
|
(make element gi: "small"
|
|
|
|
(literal "This file, and other release-related documents, can be downloaded from ")
|
2001-06-03 00:08:43 +00:00
|
|
|
(create-link (list (list "HREF" (entity-text "release.url")))
|
2001-05-03 21:59:35 +00:00
|
|
|
(literal (entity-text "release.url")))
|
|
|
|
(literal ".")))
|
|
|
|
(make element gi: "p"
|
|
|
|
attributes: (list (list "align" "center"))
|
|
|
|
(make element gi: "small"
|
|
|
|
(literal "For questions about FreeBSD, read the ")
|
2001-06-03 00:08:43 +00:00
|
|
|
(create-link
|
|
|
|
(list (list "HREF" "http://www.FreeBSD.org/docs.html"))
|
2001-05-03 21:59:35 +00:00
|
|
|
(literal "documentation"))
|
|
|
|
(literal " before contacting <")
|
2001-06-03 00:08:43 +00:00
|
|
|
(create-link
|
|
|
|
(list (list "HREF" "mailto:questions@FreeBSD.org"))
|
|
|
|
(literal "questions@FreeBSD.org"))
|
2001-05-03 21:59:35 +00:00
|
|
|
(literal ">.")
|
|
|
|
(make element gi: "p"
|
|
|
|
attributes: (list (list "align" "center"))
|
|
|
|
(make element gi: "small"
|
|
|
|
(literal "All users of FreeBSD ")
|
|
|
|
(literal (entity-text "release.branch"))
|
|
|
|
(literal " should subscribe to the ")
|
|
|
|
(literal "<")
|
2001-06-03 00:08:43 +00:00
|
|
|
(create-link (list (list "HREF" "mailto:current@FreeBSD.org"))
|
|
|
|
(literal "current@FreeBSD.org"))
|
2001-05-03 21:59:35 +00:00
|
|
|
(literal "> mailing list.")))
|
|
|
|
|
|
|
|
(make element gi: "p"
|
|
|
|
attributes: (list (list "align" "center"))
|
|
|
|
(literal "For questions about this documentation, e-mail <")
|
2001-06-03 00:08:43 +00:00
|
|
|
(create-link (list (list "HREF" "mailto:doc@FreeBSD.org"))
|
|
|
|
(literal "doc@FreeBSD.org"))
|
2001-05-03 21:59:35 +00:00
|
|
|
(literal ">."))))))
|
|
|
|
|
|
|
|
<!-- Convert " ... " to `` ... '' in the HTML output. -->
|
|
|
|
(element quote
|
|
|
|
(make sequence
|
|
|
|
(literal "``")
|
|
|
|
(process-children)
|
|
|
|
(literal "''")))
|
|
|
|
|
|
|
|
<!-- Generate links to HTML man pages -->
|
|
|
|
(define %refentry-xref-link% #t)
|
|
|
|
|
|
|
|
<!-- Specify how to generate the man page link HREF -->
|
2002-08-28 21:26:33 +00:00
|
|
|
(define ($create-refentry-xref-link$ #!optional (n (current-node)))
|
|
|
|
(let* ((r (select-elements (children n) (normalize "refentrytitle")))
|
2002-08-30 02:52:14 +00:00
|
|
|
(m (select-elements (children n) (normalize "manvolnum")))
|
|
|
|
(v (attribute-string (normalize "vendor") n))
|
|
|
|
(u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query="
|
|
|
|
(data r) "&" "sektion=" (data m))))
|
|
|
|
(case v
|
|
|
|
(("xfree86") (string-append u "&" "manpath=XFree86+4.2.0"))
|
|
|
|
(("netbsd") (string-append u "&" "manpath=NetBSD+1.5"))
|
|
|
|
(("ports") (string-append u "&" "manpath=FreeBSD+Ports"))
|
|
|
|
(else (string-append u "&" "manpath=FreeBSD+5.0-current")))))
|
2001-05-03 21:59:35 +00:00
|
|
|
]]>
|
2001-10-26 20:26:59 +00:00
|
|
|
|
|
|
|
(define (toc-depth nd)
|
|
|
|
(if (string=? (gi nd) (normalize "book"))
|
|
|
|
3
|
|
|
|
3))
|
|
|
|
|
2001-05-03 21:59:35 +00:00
|
|
|
</style-specification-body>
|
|
|
|
</style-specification>
|
|
|
|
|
|
|
|
<external-specification id="docbook" document="release.dsl">
|
|
|
|
</style-sheet>
|