man.charmap.subset.profile.english.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="man.charmap.subset.profile.english">
  7. <refmeta>
  8. <refentrytitle>man.charmap.subset.profile.english</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>man.charmap.subset.profile.english</refname>
  13. <refpurpose>Profile of character map subset</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="man.charmap.subset.profile.english.frag">
  17. <xsl:param name="man.charmap.subset.profile.english">
  18. @*[local-name() = 'block'] = 'Miscellaneous Technical' or
  19. (@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
  20. @*[local-name() = 'class'] = 'symbols')
  21. or
  22. (@*[local-name() = 'block'] = 'General Punctuation' and
  23. (@*[local-name() = 'class'] = 'spaces' or
  24. @*[local-name() = 'class'] = 'dashes' or
  25. @*[local-name() = 'class'] = 'quotes' or
  26. @*[local-name() = 'class'] = 'bullets'
  27. )
  28. ) or
  29. @*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
  30. @*[local-name() = 'name'] = 'WORD JOINER' or
  31. @*[local-name() = 'name'] = 'SERVICE MARK' or
  32. @*[local-name() = 'name'] = 'TRADE MARK SIGN' or
  33. @*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
  34. </xsl:param>
  35. </src:fragment>
  36. </refsynopsisdiv>
  37. <refsection><info><title>Description</title></info>
  38. <para>If the value of the
  39. <parameter>man.charmap.use.subset</parameter> parameter is
  40. non-zero, and your DocBook source is written in English (that
  41. is, if its <tag class="attribute">lang</tag> or <tag
  42. class="attribute">xml:lang</tag> attribute on the root element
  43. in your DocBook source or on the first <tag>refentry</tag>
  44. element in your source has the value <literal>en</literal> or if
  45. it has no <tag class="attribute">lang</tag> or <tag
  46. class="attribute">xml:lang</tag> attribute), then the
  47. character-map subset specified by the
  48. <parameter>man.charmap.subset.profile.english</parameter>
  49. parameter is used instead of the full roff character map.</para>
  50. <para>Otherwise, if the <tag class="attribute">lang</tag> or <tag
  51. class="attribute">xml:lang</tag> attribute
  52. on the root element in your DocBook source or on the first
  53. <tag>refentry</tag> element in your source has a value other
  54. than <literal>en</literal>, then the character-map subset
  55. specified by the
  56. <parameter>man.charmap.subset.profile</parameter> parameter is
  57. used instead of
  58. <parameter>man.charmap.subset.profile.english</parameter>.</para>
  59. <para>The difference between the two subsets is that
  60. <parameter>man.charmap.subset.profile</parameter> provides
  61. mappings for characters in Western European languages that are
  62. not part of the Roman (English) alphabet (ASCII character set).</para>
  63. <para>The value of <parameter>man.charmap.subset.profile.english</parameter>
  64. is a string representing an XPath expression that matches attribute
  65. names and values for <tag
  66. namespace="http://docbook.sf.net/xmlns/unichar/1.0"
  67. >output-character</tag> elements in the character map.</para>
  68. <para>For other details, see the documentation for the
  69. <parameter>man.charmap.subset.profile.english</parameter> and
  70. <parameter>man.charmap.use.subset</parameter> parameters.</para>
  71. </refsection>
  72. </refentry>