]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/styleguide/docbook-xsl-1.75.2/params/man.charmap.use.subset.xml
stylesheet changes.
[working/Evergreen.git] / stylesheets / styleguide / docbook-xsl-1.75.2 / params / man.charmap.use.subset.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="man.charmap.use.subset">\r
7 <refmeta>\r
8 <refentrytitle>man.charmap.use.subset</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>man.charmap.use.subset</refname>\r
13 <refpurpose>Use subset of character map instead of full map?</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\r
17 <src:fragment xml:id="man.charmap.use.subset.frag">\r
18 <xsl:param name="man.charmap.use.subset" select="1"/>\r
19 </src:fragment>\r
20 </refsynopsisdiv>\r
21 \r
22 <refsection><info><title>Description</title></info>\r
23 \r
24 <para>If the value of the\r
25 <parameter>man.charmap.use.subset</parameter> parameter is non-zero,\r
26 a subset of the roff character map is used instead of the full roff\r
27 character map. The profile of the subset used is determined either\r
28 by the value of the\r
29 <parameter>man.charmap.subset.profile</parameter>\r
30 parameter (if the source is not in English) or the\r
31 <parameter>man.charmap.subset.profile.english</parameter>\r
32 parameter (if the source is in English).</para>\r
33 \r
34 <note>\r
35   <para>You may want to experiment with setting a non-zero value of\r
36   <parameter>man.charmap.use.subset</parameter>, so that the full\r
37   character map is used. Depending on which XSLT engine you run,\r
38   setting a non-zero value for\r
39   <parameter>man.charmap.use.subset</parameter> may significantly\r
40   increase the time needed to process your documents. Or it may\r
41   not. For example, if you set it and run it with xsltproc, it seems\r
42   to dramatically increase processing time; on the other hand, if you\r
43   set it and run it with Saxon, it does not seem to increase\r
44   processing time nearly as much.</para>\r
45 \r
46   <para>If processing time is not a important concern and/or you can\r
47   tolerate the increase in processing time imposed by using the full\r
48   character map, set <parameter>man.charmap.use.subset</parameter> to\r
49   zero.</para>\r
50 </note>\r
51 \r
52 <refsection><info><title>Details</title></info>\r
53 \r
54 <para>For converting certain Unicode symbols and special characters in\r
55 UTF-8 or UTF-16 encoded XML source to appropriate groff/roff\r
56 equivalents in man-page output, the DocBook XSL Stylesheets\r
57 distribution includes a <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">roff character map</link> that is compliant with the <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character\r
58 map</link> format as detailed in the XSLT 2.0 specification. The map\r
59 contains more than 800 character mappings and can be considered the\r
60 standard roff character map for the distribution.</para>\r
61 \r
62 <note>\r
63 <para>You can use the <parameter>man.charmap.uri</parameter>\r
64 parameter to specify a URI for the location for an alternate roff\r
65 character map to use in place of the standard roff character map\r
66 provided in the distribution.</para>\r
67 </note>\r
68 \r
69 <para>Because it is not terrifically efficient to use the standard\r
70 800-character character map in full -- and for most (or all) users,\r
71 never necessary to use it in full -- the DocBook XSL Stylesheets\r
72 support a mechanism for using, within any given character map, a\r
73 subset of character mappings instead of the full set. You can use the\r
74 <parameter>man.charmap.subset.profile</parameter> or\r
75 <parameter>man.charmap.subset.profile.english</parameter>\r
76 parameter to tune the profile of that subset to use.</para>\r
77 \r
78 </refsection>\r
79 </refsection>\r
80 </refentry>\r