<html><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>hyphenate.verbatim</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="misc.html" title="Miscellaneous"><link rel="prev" href="shade.verbatim.style.html" title="shade.verbatim.style"><link rel="next" href="hyphenate.verbatim.characters.html" title="hyphenate.verbatim.characters"><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">hyphenate.verbatim</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="shade.verbatim.style.html">Prev</a> </td><th width="60%" align="center">Miscellaneous</th><td width="20%" align="right"> <a accesskey="n" href="hyphenate.verbatim.characters.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="hyphenate.verbatim"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">hyphenate.verbatim</span></h2><p>hyphenate.verbatim — Should verbatim environments be hyphenated on space characters?</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="hyphenate.verbatim.frag"></a><pre class="programlisting"><xsl:param name="hyphenate.verbatim" select="0"></xsl:param></pre></div><div class="refsection"><a name="d0e17759"></a><h2>Description</h2><p>If the lines of program listing are too long to fit into one line it is quite common to split them at space and indicite by hook arrow that code continues on the next line. You can turn on this behaviour for <code class="sgmltag-element">programlisting</code>, <code class="sgmltag-element">screen</code> and <code class="sgmltag-element">synopsis</code> elements by using this parameter.</p><p>Note that you must also enable line wrapping for verbatim environments and select appropriate hyphenation character (e.g. hook arrow). This can be done using <em class="parameter"><code>monospace.verbatim.properties</code></em> attribute set:</p><pre class="programlisting"><xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"> <xsl:attribute name="wrap-option">wrap</xsl:attribute> <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute> </xsl:attribute-set></pre><p>For a list of arrows available in Unicode see <code class="uri"><a class="uri" href="http://www.unicode.org/charts/PDF/U2190.pdf" target="_top">http://www.unicode.org/charts/PDF/U2190.pdf</a></code> and <code class="uri"><a class="uri" href="http://www.unicode.org/charts/PDF/U2900.pdf" target="_top">http://www.unicode.org/charts/PDF/U2900.pdf</a></code> and make sure that selected character is available in the font you are using for verbatim environments.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="shade.verbatim.style.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="misc.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="hyphenate.verbatim.characters.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">shade.verbatim.style </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> hyphenate.verbatim.characters</td></tr></table></div></body></html>