]> granicus.if.org Git - docbook-dsssl/commitdiff
Added to default charmap used by manpages:
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 27 Feb 2008 07:12:05 +0000 (07:12 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 27 Feb 2008 07:12:05 +0000 (07:12 +0000)
  - the "letters" part of the 'C1 Controls And Latin-1 Supplement
    (Latin-1 Supplement)' Unicode block
  - Latin Extended-A block (but not all of the characters from
    that block have mappings in groff, so some of them are still
    passed through as-is)

The effects of this change are that in man pages generated for
most Western European languages and for Finnish, all characters
not part of the Roman alphabet are (e.g., "accented" characters)
are converted to groff escapes.

Previously, by default we passed through those characters as is
(and users needed to use the full charmap if they wanted to have
those characters converted).

As a result of this change, man pages generated for Western
European languages will be viewable in some environments in which
they are not viewable if the "raw" non-Roman characters are in them.

xsl/params/man.charmap.subset.profile.xml

index c617a5f251d6b29b3ac47d8e2fd91f95807e9287..3830aa6d066edc08e1c5df7b57756138b4bd2b45 100644 (file)
 <xsl:param name="man.charmap.subset.profile">
 @*[local-name() = 'block'] = 'Miscellaneous Technical' or
 (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
- @*[local-name() = 'class'] = 'symbols'
+ (@*[local-name() = 'class'] = 'symbols' or
+  @*[local-name() = 'class'] = 'letters')
 ) or
+@*[local-name() = 'block'] = 'Latin Extended-A'
+or
 (@*[local-name() = 'block'] = 'General Punctuation' and
  (@*[local-name() = 'class'] = 'spaces' or
   @*[local-name() = 'class'] = 'dashes' or