<html><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>man.charmap.enabled</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="charmap.html" title="Character/string substitution"><link rel="prev" href="charmap.html" title="Character/string substitution"><link rel="next" href="man.charmap.uri.html" title="man.charmap.uri"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">man.charmap.enabled</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="charmap.html">Prev</a> </td><th width="60%" align="center">Character/string substitution</th><td width="20%" align="right"> <a accesskey="n" href="man.charmap.uri.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="man.charmap.enabled"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">man.charmap.enabled</span></h2><p>man.charmap.enabled — Apply character map before final output?</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="man.charmap.enabled.frag"></a><pre class="programlisting"> <xsl:param name="man.charmap.enabled" select="1"></xsl:param> </pre></div><div class="refsection"><a name="d0e25629"></a><h2>Description</h2><p>If the value of the <em class="parameter"><code>man.charmap.enabled</code></em> parameter is non-zero, a "character map" is used to substitute certain Unicode symbols and special characters with appropriate roff/groff equivalents, just before writing each man-page file to the filesystem. If instead the value of <em class="parameter"><code>man.charmap.enabled</code></em> is zero, Unicode characters are passed through "as is".</p><div class="refsection"><a name="d0e25641"></a><h3>Details</h3><p>For converting certain Unicode symbols and special characters in UTF-8 or UTF-16 encoded XML source to appropriate groff/roff equivalents in man-page output, the DocBook XSL Stylesheets distribution includes a <a class="link" href="http://snapshots.docbook.org/xsl/manpages/charmap.groff.xsl" target="_top">roff character map</a> that is compliant with the <a class="link" href="http://www.w3.org/TR/xslt20/#character-maps" target="_top">XSLT character map</a> format as detailed in the XSLT 2.0 specification. The map contains more than 800 character mappings and can be considered the standard roff character map for the distribution.</p><p>You can use the <em class="parameter"><code>man.charmap.uri</code></em> parameter to specify a URI for the location for an alternate roff character map to use in place of the standard roff character map provided in the distribution.</p><p>You can also use a subset of a character map. For details, see the <em class="parameter"><code>man.charmap.use.subset</code></em>, <em class="parameter"><code>man.charmap.subset.profile</code></em>, and <em class="parameter"><code>man.charmap.subset.profile.english</code></em> parameters.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="charmap.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="charmap.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="man.charmap.uri.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Character/string substitution </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> man.charmap.uri</td></tr></table></div></body></html>