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 /pt_BR.ISO8859-1/share | |
parent | b60097d727ee3e39812bfb63b228322346080881 (diff) | |
download | doc-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 'pt_BR.ISO8859-1/share')
-rw-r--r-- | pt_BR.ISO8859-1/share/sgml/catalog | 18 | ||||
-rw-r--r-- | pt_BR.ISO8859-1/share/sgml/freebsd.dsl | 28 |
2 files changed, 22 insertions, 24 deletions
diff --git a/pt_BR.ISO8859-1/share/sgml/catalog b/pt_BR.ISO8859-1/share/sgml/catalog index 8062c35fd6..d97045738a 100644 --- a/pt_BR.ISO8859-1/share/sgml/catalog +++ b/pt_BR.ISO8859-1/share/sgml/catalog @@ -1,5 +1,8 @@ -- ...................................................................... -- -- FreeBSD SGML Public Identifiers ...................................... -- + + -- ...................................................................... -- + -- Portuguese Brazilian specific ........................................ -- -- The FreeBSD Documentation Project -- The FreeBSD Brazilian Portuguese Documentation Project @@ -25,3 +28,18 @@ PUBLIC "-//FreeBSD//ENTITIES DocBook Translators Entities//PTBR" PUBLIC "-//FreeBSD//ENTITIES DocBook Specific Word Translations Entities//PTBR" "words.ent" +PUBLIC "-//FreeBSD//ENTITIES DocBook BookInfo Entities//PTBR" + "bookinfo.ent" + +PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//PTBR" + "freebsd.dsl" + +PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//PTBR" + "mailing-lists.ent" + +PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//PTBR" + "teams.ent" + +PUBLIC "-//FreeBSD//ENTITIES DocBook Translator Entities//PTBR" + "translators.ent" + diff --git a/pt_BR.ISO8859-1/share/sgml/freebsd.dsl b/pt_BR.ISO8859-1/share/sgml/freebsd.dsl index e58d0cd8da..42583fd922 100644 --- a/pt_BR.ISO8859-1/share/sgml/freebsd.dsl +++ b/pt_BR.ISO8859-1/share/sgml/freebsd.dsl @@ -29,6 +29,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" @@ -56,30 +60,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 - (("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 --> |