aboutsummaryrefslogtreecommitdiff
path: root/da_DK.ISO8859-1/share/sgml
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2003-05-22 15:03:50 +0000
committerHiroki Sato <hrs@FreeBSD.org>2003-05-22 15:03:50 +0000
commitecd26f86b1c4375fe912750e3e4f0c3d948db2d2 (patch)
treeda5d564e5f91927718fe879fd357eeb5a4608ed9 /da_DK.ISO8859-1/share/sgml
parentb60097d727ee3e39812bfb63b228322346080881 (diff)
downloaddoc-ecd26f86b1c4375fe912750e3e4f0c3d948db2d2.tar.gz
doc-ecd26f86b1c4375fe912750e3e4f0c3d948db2d2.zip
Move ($create-refentry-xref-link$) to share/sgml/freebsd.dsl
and the localized sysids to <langcode>/share/sgml/catalog. Since <langcode>/share/sgml/freebsd.dsl still include some language-neutral parameters and procedures for printable formats, I will work on assorting them similarly. I am sorry that this (and probably the next) commit may break the translation team's usual update procedure, but you can merge the language-specific freebsd.dsl from the English version as before. Discussed on: -doc
Notes
Notes: svn path=/head/; revision=17071
Diffstat (limited to 'da_DK.ISO8859-1/share/sgml')
-rw-r--r--da_DK.ISO8859-1/share/sgml/freebsd.dsl29
1 files changed, 4 insertions, 25 deletions
diff --git a/da_DK.ISO8859-1/share/sgml/freebsd.dsl b/da_DK.ISO8859-1/share/sgml/freebsd.dsl
index 005cafdae5..43501ab3fd 100644
--- a/da_DK.ISO8859-1/share/sgml/freebsd.dsl
+++ b/da_DK.ISO8859-1/share/sgml/freebsd.dsl
@@ -13,6 +13,10 @@
<!-- HTML only .................................................... -->
<![ %output.html; [
+
+ <!-- Generate links to HTML man pages -->
+ (define %refentry-xref-link% #t)
+
(define ($email-footer$)
(make sequence
(make element gi: "p"
@@ -40,31 +44,6 @@
(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
- (("current") (string-append u "&" "manpath=FreeBSD+5.0-current"))
- (("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 u))))
]]>
<!-- More aesthetically pleasing chapter headers for print output -->