aboutsummaryrefslogtreecommitdiff
path: root/es_ES.ISO8859-1/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 /es_ES.ISO8859-1/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 'es_ES.ISO8859-1/share')
-rw-r--r--es_ES.ISO8859-1/share/sgml/freebsd.dsl16
1 files changed, 12 insertions, 4 deletions
diff --git a/es_ES.ISO8859-1/share/sgml/freebsd.dsl b/es_ES.ISO8859-1/share/sgml/freebsd.dsl
index 3bfca7b997..71c61f9d41 100644
--- a/es_ES.ISO8859-1/share/sgml/freebsd.dsl
+++ b/es_ES.ISO8859-1/share/sgml/freebsd.dsl
@@ -1,4 +1,4 @@
-<!-- $FreeBSD: doc/en_US.ISO8859-1/share/sgml/freebsd.dsl,v 1.13 2001/08/03 19:11:16 murray Exp $ -->
+<!-- $FreeBSD$ -->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL>
@@ -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 -->