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
This commit is contained in:
Giorgos Keramidas 2004-07-30 08:01:24 +00:00
parent c1995ffb4a
commit 3a4e9341ba
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21733
2 changed files with 14 additions and 3 deletions

View file

@ -4,7 +4,7 @@
-- $FreeBSD$ -- $FreeBSD$
-- --
PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EL" PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN"
"freebsd.dsl" "freebsd.dsl"
PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//EL" PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//EL"

View file

@ -5,15 +5,26 @@
<!ENTITY % output.html "IGNORE"> <!ENTITY % output.html "IGNORE">
<!ENTITY % output.print "IGNORE"> <!ENTITY % output.print "IGNORE">
<!ENTITY % output.print.niceheaders "IGNORE"> <!ENTITY % output.print.niceheaders "IGNORE">
<!ENTITY % lang.el.dsssl "IGNORE">
]> ]>
<style-sheet> <style-sheet>
<style-specification use="docbook"> <style-specification use="docbook">
<style-specification-body> <style-specification-body>
<![ %lang.el.dsssl; [
(define %gentext-language% "el")
]]>
<!-- HTML only .................................................... --> <!-- 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 --> <!-- Generate links to HTML man pages -->
(define %refentry-xref-link% #t) (define %refentry-xref-link% #t)