aboutsummaryrefslogtreecommitdiff
path: root/es_ES.ISO8859-1/share
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2000-03-23 09:00:17 +0000
committerNik Clayton <nik@FreeBSD.org>2000-03-23 09:00:17 +0000
commita595525171c1072ffca13d33066aebe4d57f807e (patch)
tree1f49574482579af26ae8ff51652a2f535b10133e /es_ES.ISO8859-1/share
parent2194956cdd527bc4baac67712f514b8ccfd96a5b (diff)
downloaddoc-a595525171c1072ffca13d33066aebe4d57f807e.tar.gz
doc-a595525171c1072ffca13d33066aebe4d57f807e.zip
Give each language and encoding it's own freebsd.dsl, to contain style
sheet definitions for that language only. Each file reads in the defaults from the master share/sgml/freebsd.dsl file, and adds overrides, or new definitions, as necessary. Move the per-language hacks from share/sgml/freebsd.dsl in to <lang>/share/sgml/freebsd.dsl as necessary. Add links to the -questions and -doc mailing lists to the bottom of the generated HTML output for some languages. The -questions link will become a link to Greg's "Getting the most from questions" document when I bring that in, but I haven't done that yet, and I didn't want these patches hanging around my local tree. This was the real reason for making freebsd.dsl language local, as it makes it much easier to translate generated text, such as the text of the links, without polluting share/sgml/freebsd.dsl. Update doc.docbook.mk to use the new, per-language freebsd.dsl file when building the docs. While I'm here, update .pdb generation so that it creates a symlink to ${CURDIR:T}.pdb as well (e.g., the Handbook generates "book.pdb" and "handbook.pdb"). This makes it easier to install more than one document on a Palm, because two docs called "book.pdb" or "article.pdb" can not co-exist.
Notes
Notes: svn path=/head/; revision=6844
Diffstat (limited to 'es_ES.ISO8859-1/share')
-rw-r--r--es_ES.ISO8859-1/share/sgml/freebsd.dsl30
1 files changed, 30 insertions, 0 deletions
diff --git a/es_ES.ISO8859-1/share/sgml/freebsd.dsl b/es_ES.ISO8859-1/share/sgml/freebsd.dsl
new file mode 100644
index 0000000000..b9912bbffb
--- /dev/null
+++ b/es_ES.ISO8859-1/share/sgml/freebsd.dsl
@@ -0,0 +1,30 @@
+<!-- $FreeBSD$ -->
+
+<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+<!ENTITY freebsd.dsl SYSTEM "../../../share/sgml/freebsd.dsl" CDATA DSSSL>
+]>
+
+<style-sheet>
+ <style-specification use="docbook">
+ <style-specification-body>
+
+ <![ %output.html; [
+ (define ($email-footer$)
+ (make sequence
+ (literal "For questions about FreeBSD, e-mail <")
+ (make element gi: "a"
+ attributes: (list (list "href" "mailto:questions@FreeBSD.org"))
+ (literal "questions@FreeBSD.org"))
+ (literal ">.")
+ (make empty-element gi: "br")
+ (literal "For questions about this documentation, e-mail <")
+ (make element gi: "a"
+ attributes: (list (list "href" "mailto:doc@FreeBSD.org"))
+ (literal "doc@FreeBSD.org"))
+ (literal ">.")))
+ ]]>
+ </style-specification-body>
+ </style-specification>
+
+ <external-specification id="docbook" document="freebsd.dsl">
+</style-sheet>