OLD | NEW |
| (Empty) |
1 <refentry xmlns="http://docbook.org/ns/docbook" | |
2 xmlns:xlink="http://www.w3.org/1999/xlink" | |
3 xmlns:xi="http://www.w3.org/2001/XInclude" | |
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" | |
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
6 version="5.0" xml:id="ulink.hyphenate"> | |
7 <refmeta> | |
8 <refentrytitle>ulink.hyphenate</refentrytitle> | |
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> | |
10 </refmeta> | |
11 <refnamediv> | |
12 <refname>ulink.hyphenate</refname> | |
13 <refpurpose>Allow URLs to be automatically hyphenated</refpurpose> | |
14 </refnamediv> | |
15 | |
16 <refsynopsisdiv> | |
17 <src:fragment xml:id="ulink.hyphenate.frag"> | |
18 <xsl:param name="ulink.hyphenate"></xsl:param> | |
19 </src:fragment> | |
20 </refsynopsisdiv> | |
21 | |
22 <refsection><info><title>Description</title></info> | |
23 | |
24 <para>If not empty, the specified character (or more generally, | |
25 content) is added to URLs after every character included in the string | |
26 in the <parameter>ulink.hyphenate.chars</parameter> parameter (default | |
27 is <quote>/</quote>) to enable hyphenation of ulinks. If the character | |
28 in this parameter is a Unicode soft hyphen (0x00AD) or Unicode | |
29 zero-width space (0x200B), some FO processors will be able to | |
30 reasonably hyphenate long URLs.</para> | |
31 | |
32 <para>Note that this hyphenation process is only applied when the | |
33 ulink element is empty and the url attribute is reused as the link | |
34 text. It is not applied if the ulink has literal text content. The | |
35 same applies in in DocBook 5, where ulink was replaced with link with | |
36 an xlink:href attribute.</para> | |
37 | |
38 </refsection> | |
39 </refentry> | |
OLD | NEW |