aboutsummaryrefslogtreecommitdiff
path: root/release/doc/en_US.ISO8859-1/share
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2003-05-23 10:30:27 +0000
committerHiroki Sato <hrs@FreeBSD.org>2003-05-23 10:30:27 +0000
commit384e8e93c1b1224004608384fbd7b29425d50872 (patch)
tree31997e43ea7b3d014e2de23a9f27c612833cc4b7 /release/doc/en_US.ISO8859-1/share
parentb32a99e5f491c83764390db17be9d213e7f60b6c (diff)
downloadsrc-384e8e93c1b1224004608384fbd7b29425d50872.tar.gz
src-384e8e93c1b1224004608384fbd7b29425d50872.zip
Move ($create-refentry-xref-link$) to the language-neutral place
and add entities &release.manpath.*; for man.cgi's manpath=XXX. Approved by: re (bmah)
Notes
Notes: svn path=/head/; revision=115262
Diffstat (limited to 'release/doc/en_US.ISO8859-1/share')
-rw-r--r--release/doc/en_US.ISO8859-1/share/sgml/release.dsl31
1 files changed, 3 insertions, 28 deletions
diff --git a/release/doc/en_US.ISO8859-1/share/sgml/release.dsl b/release/doc/en_US.ISO8859-1/share/sgml/release.dsl
index 688af05481b9..eeb43abe4c0f 100644
--- a/release/doc/en_US.ISO8859-1/share/sgml/release.dsl
+++ b/release/doc/en_US.ISO8859-1/share/sgml/release.dsl
@@ -11,6 +11,9 @@
<style-specification-body>
<![ %output.html; [
+ <!-- Generate links to HTML man pages -->
+ (define %refentry-xref-link% #t)
+
(define ($email-footer$)
(make sequence
(make element gi: "p"
@@ -49,36 +52,8 @@
(create-link (list (list "HREF" "mailto:doc@FreeBSD.org"))
(literal "doc@FreeBSD.org"))
(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 -->
- (define ($create-refentry-xref-link$ #!optional (n (current-node)))
- (let* ((r (select-elements (children n) (normalize "refentrytitle")))
- (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")))))
]]>
- (define (toc-depth nd)
- (if (string=? (gi nd) (normalize "book"))
- 3
- 3))
-
</style-specification-body>
</style-specification>