diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2003-05-22 15:03:50 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2003-05-22 15:03:50 +0000 |
commit | ecd26f86b1c4375fe912750e3e4f0c3d948db2d2 (patch) | |
tree | da5d564e5f91927718fe879fd357eeb5a4608ed9 /it_IT.ISO8859-15 | |
parent | b60097d727ee3e39812bfb63b228322346080881 (diff) |
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 'it_IT.ISO8859-15')
-rw-r--r-- | it_IT.ISO8859-15/share/sgml/catalog | 12 | ||||
-rw-r--r-- | it_IT.ISO8859-15/share/sgml/freebsd.dsl | 29 |
2 files changed, 16 insertions, 25 deletions
diff --git a/it_IT.ISO8859-15/share/sgml/catalog b/it_IT.ISO8859-15/share/sgml/catalog index f615831b57..e60239be26 100644 --- a/it_IT.ISO8859-15/share/sgml/catalog +++ b/it_IT.ISO8859-15/share/sgml/catalog @@ -1,6 +1,9 @@ -- ...................................................................... -- -- FreeBSD SGML Public Identifiers ...................................... -- + -- ...................................................................... -- + -- Italian specific ..................................................... -- + -- $FreeBSD$ -- @@ -9,3 +12,12 @@ PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN" PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//IT" "mailing-lists.ent" + +PUBLIC "-//FreeBSD//ENTITIES DocBook BookInfo Entities//IT" + "bookinfo.ent" + +PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//IT" + "freebsd.dsl" + +PUBLIC "-//FreeBSD//ENTITIES DocBook Translator Entities//IT" + "translators.ent" diff --git a/it_IT.ISO8859-15/share/sgml/freebsd.dsl b/it_IT.ISO8859-15/share/sgml/freebsd.dsl index 0aede93f80..d5f400f766 100644 --- a/it_IT.ISO8859-15/share/sgml/freebsd.dsl +++ b/it_IT.ISO8859-15/share/sgml/freebsd.dsl @@ -18,6 +18,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" @@ -45,31 +49,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)))) ]]> <!-- Both sets of stylesheets ..................................... --> |