aboutsummaryrefslogtreecommitdiff
path: root/el_GR.ISO8859-7/share
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2002-08-27 14:11:55 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2002-08-27 14:11:55 +0000
commitdd2b4d6698758b4e050270bed07dc04753c9e57e (patch)
tree08cea85e3eb8945a4d9658ed03203861e4e5d38b /el_GR.ISO8859-7/share
parentea1af70d8cc338bd28e6325dca452d8144610d33 (diff)
downloaddoc-dd2b4d6698758b4e050270bed07dc04753c9e57e.tar.gz
doc-dd2b4d6698758b4e050270bed07dc04753c9e57e.zip
Add support for the 'vendor' attribute on <citerefentry> to select which
of the CGI manual page collections to use. Currently supports XFree86, NetBSD, and FreeBSD Port man pages.
Notes
Notes: svn path=/head/; revision=14042
Diffstat (limited to 'el_GR.ISO8859-7/share')
-rw-r--r--el_GR.ISO8859-7/share/sgml/freebsd.dsl14
1 files changed, 11 insertions, 3 deletions
diff --git a/el_GR.ISO8859-7/share/sgml/freebsd.dsl b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
index ac502b1b32..45bb0a701a 100644
--- a/el_GR.ISO8859-7/share/sgml/freebsd.dsl
+++ b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
@@ -53,9 +53,17 @@
(define %refentry-xref-link% #t)
<!-- Specify how to generate the man page link HREF -->
- (define ($create-refentry-xref-link$ refentrytitle manvolnum)
- (string-append "http://www.FreeBSD.org/cgi/man.cgi?query="
- refentrytitle "&" "sektion=" manvolnum))
+ (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.0.2"))
+ (("netbsd") (string-append u "&" "manpath=NetBSD+1.5"))
+ (("ports") (string-append u "&" "manpath=FreeBSD+Ports"))
+ (else u))))
]]>
<!-- More aesthetically pleasing chapter headers for print output -->