aboutsummaryrefslogtreecommitdiff
path: root/el_GR.ISO8859-7/share
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2004-07-30 08:01:24 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2004-07-30 08:01:24 +0000
commit3a4e9341ba6d02a6e661512e8c972aac675c3548 (patch)
treeb4fa5a0ea287844c73b007f4a24731742dfdf9b5 /el_GR.ISO8859-7/share
parentc1995ffb4ad7c15f8584497cc57efd278e7bf544 (diff)
downloaddoc-3a4e9341ba6d02a6e661512e8c972aac675c3548.tar.gz
doc-3a4e9341ba6d02a6e661512e8c972aac675c3548.zip
Fix a long-standing brokenness in the generated HTML output of the Greek
docs, by tweaking the freebsd.dsl and catalog files to enable the generation of the correct Content-Type header in the HTML docs. Obtained from: the Japanese doc/ tree
Notes
Notes: svn path=/head/; revision=21733
Diffstat (limited to 'el_GR.ISO8859-7/share')
-rw-r--r--el_GR.ISO8859-7/share/sgml/catalog2
-rw-r--r--el_GR.ISO8859-7/share/sgml/freebsd.dsl15
2 files changed, 14 insertions, 3 deletions
diff --git a/el_GR.ISO8859-7/share/sgml/catalog b/el_GR.ISO8859-7/share/sgml/catalog
index 0d555816a8..fd6e7e7862 100644
--- a/el_GR.ISO8859-7/share/sgml/catalog
+++ b/el_GR.ISO8859-7/share/sgml/catalog
@@ -4,7 +4,7 @@
-- $FreeBSD$
--
-PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EL"
+PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN"
"freebsd.dsl"
PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//EL"
diff --git a/el_GR.ISO8859-7/share/sgml/freebsd.dsl b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
index 9dba5f71dd..8111343bd1 100644
--- a/el_GR.ISO8859-7/share/sgml/freebsd.dsl
+++ b/el_GR.ISO8859-7/share/sgml/freebsd.dsl
@@ -5,14 +5,25 @@
<!ENTITY % output.html "IGNORE">
<!ENTITY % output.print "IGNORE">
<!ENTITY % output.print.niceheaders "IGNORE">
+<!ENTITY % lang.el.dsssl "IGNORE">
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
+ <![ %lang.el.dsssl; [
+ (define %gentext-language% "el")
+ ]]>
+
<!-- HTML only .................................................... -->
-
- <![ %output.html; [
+
+ <![ %output.html; [
+
+ <!-- Add a header with the correct character-set/encoding -->
+ (define %html-header-tags%
+ '(("META" ("HTTP-EQUIV" "Content-Type")
+ ("CONTENT" "text/html; charset=ISO-8859-7"))))
+
<!-- Generate links to HTML man pages -->
(define %refentry-xref-link% #t)