diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2004-11-07 16:26:09 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2004-11-07 16:26:09 +0000 |
commit | c24e829215fbc4def171517fa24de11fcf60088f (patch) | |
tree | b3252d5c2d6270e6100481910aa97157c43d620d /sr_YU.ISO8859-2/share | |
parent | ade2f328b2a8da68501133b5f6cba28f56e52727 (diff) | |
download | doc-c24e829215fbc4def171517fa24de11fcf60088f.tar.gz doc-c24e829215fbc4def171517fa24de11fcf60088f.zip |
Add a <meta> tag into %html-header-tags% to explicitly declare
the charset of HTML files generated from an DocBook/SGML file.
Note to translators:
While some of the translations already use this tweak
in their localized freebsd.dsl, it is no longer needed so
removed and the necessary changes have been added instead.
After this commit, please make sure to define
&doc.html.charset; in <langcode>/share/sgml/l10n.ent.
If not defined, iso-8859-1 is used by default and it can
break the translation.
Discussed on: -doc
Notes
Notes:
svn path=/head/; revision=22836
Diffstat (limited to 'sr_YU.ISO8859-2/share')
-rw-r--r-- | sr_YU.ISO8859-2/share/sgml/catalog | 4 | ||||
-rw-r--r-- | sr_YU.ISO8859-2/share/sgml/freebsd.dsl | 2 | ||||
-rw-r--r-- | sr_YU.ISO8859-2/share/sgml/l10n.ent | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/sr_YU.ISO8859-2/share/sgml/catalog b/sr_YU.ISO8859-2/share/sgml/catalog index 4a2b9be8b6..c3e69e9318 100644 --- a/sr_YU.ISO8859-2/share/sgml/catalog +++ b/sr_YU.ISO8859-2/share/sgml/catalog @@ -1,9 +1,11 @@ -- ...................................................................... -- -- FreeBSD SGML Public Identifiers ...................................... -- - -- $FreeBSD: doc/sr_YU.ISO_8859-2/share/sgml/catalog,v 1.1 2000/09/28 23:29:45 nbm Exp $ + -- $FreeBSD$ -- PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN" "freebsd.dsl" +PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN" + "l10n.ent" diff --git a/sr_YU.ISO8859-2/share/sgml/freebsd.dsl b/sr_YU.ISO8859-2/share/sgml/freebsd.dsl index adb037d736..71e2a76229 100644 --- a/sr_YU.ISO8859-2/share/sgml/freebsd.dsl +++ b/sr_YU.ISO8859-2/share/sgml/freebsd.dsl @@ -45,8 +45,6 @@ (literal "doc@FreeBSD.org")) (literal ">."))))) ]]> - - (define %html-header-tags% '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html; charset=iso-8859-2")))) </style-specification-body> </style-specification> diff --git a/sr_YU.ISO8859-2/share/sgml/l10n.ent b/sr_YU.ISO8859-2/share/sgml/l10n.ent new file mode 100644 index 0000000000..fb351da903 --- /dev/null +++ b/sr_YU.ISO8859-2/share/sgml/l10n.ent @@ -0,0 +1,4 @@ +<!-- $FreeBSD$ --> + +<!-- charset for HTML output --> +<!ENTITY doc.html.charset "iso-8859-2"> |