<!ENTITY headers.on.blank.pages SYSTEM "../params/headers.on.blank.pages.xml">
<!ENTITY hyphenate SYSTEM "../params/hyphenate.xml">
<!ENTITY hyphenate.verbatim SYSTEM "../params/hyphenate.verbatim.xml">
+<!ENTITY hyphenate.verbatim.characters SYSTEM "../params/hyphenate.verbatim.characters.xml">
<!ENTITY index.on.role SYSTEM "../params/index.on.role.xml">
<!ENTITY index.on.type SYSTEM "../params/index.on.type.xml">
<!ENTITY informal.object.properties SYSTEM "../params/informal.object.properties.xml">
&shade.verbatim;
&shade.verbatim.style;
&hyphenate.verbatim;
+&hyphenate.verbatim.characters;
&use.svg;
&use.role.as.xrefstyle;
&menuchoice.separator;
<src:fragref linkend="headers.on.blank.pages.frag"/>
<src:fragref linkend="hyphenate.frag"/>
<src:fragref linkend="hyphenate.verbatim.frag"/>
+<src:fragref linkend="hyphenate.verbatim.characters.frag"/>
<src:fragref linkend="ignore.image.scaling.frag"/>
<src:fragref linkend="index.on.role.frag"/>
<src:fragref linkend="index.on.type.frag"/>
<xsl:text> </xsl:text>
<xsl:text>­</xsl:text>
</xsl:when>
+ <xsl:when test="$hyphenate.verbatim.characters != '' and
+ translate($hyphenate.verbatim.characters, $head, '') = ''">
+ <xsl:value-of select="$head"/>
+ <xsl:text>­</xsl:text>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="$head"/>
</xsl:otherwise>
--- /dev/null
+<refentry id="hyphenate.verbatim.characters">
+<refmeta>
+<refentrytitle>hyphenate.verbatim.characters</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>hyphenate.verbatim.characters</refname>
+<refpurpose>List of characters after which line break can occur in listings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='hyphenate.verbatim.characters.frag'><xsl:param name="hyphenate.verbatim.characters" select="''"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you enable <parameter>hyphenate.verbatim</parameter> line
+breaks are allowed only on space characters. If this is not enough for
+your document, you can specify list of additional characters after
+which line break is allowed in this parameter.</para>
+
+</refsect1>
+</refentry>