SCons / src / engine / SCons / Tool / docbook / docbook-xsl-1.76.1 / params / hyphenate.verbatim.xml

<refentry xmlns=""
          version="5.0" xml:id="hyphenate.verbatim">
<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
<refpurpose>Should verbatim environments be hyphenated on space characters?</refpurpose>

<src:fragment xml:id="hyphenate.verbatim.frag"><xsl:param name="hyphenate.verbatim" select="0"/></src:fragment>


<para>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 <tag>programlisting</tag>,
<tag>screen</tag> and <tag>synopsis</tag> elements by
using this parameter.</para>

<para>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 <parameter></parameter>
attribute set:</para>

<programlisting>&lt;xsl:attribute-set name="" 
  &lt;xsl:attribute name="wrap-option"&gt;wrap&lt;/xsl:attribute&gt;
  &lt;xsl:attribute name="hyphenation-character"&gt;&amp;#x25BA;&lt;/xsl:attribute&gt;

<para>For a list of arrows available in Unicode see <uri xlink:href=""></uri> and <uri xlink:href=""></uri> and make sure that
selected character is available in the font you are using for verbatim

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.