diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-07-20 16:48:06 +0100 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-07-20 16:48:06 +0100 |
commit | 8e8edc70b402e69953fb9135a58d7faee12dc088 (patch) | |
tree | e8815e7ef185ccaba26bcd616eace378572b922e /params/ulink.hyphenate.xml | |
download | docbook-xsl-8e8edc70b402e69953fb9135a58d7faee12dc088.tar.gz |
Tarball conversion
Diffstat (limited to 'params/ulink.hyphenate.xml')
-rw-r--r-- | params/ulink.hyphenate.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/params/ulink.hyphenate.xml b/params/ulink.hyphenate.xml new file mode 100644 index 0000000..8aa1dfe --- /dev/null +++ b/params/ulink.hyphenate.xml @@ -0,0 +1,39 @@ +<refentry xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="5.0" xml:id="ulink.hyphenate"> +<refmeta> +<refentrytitle>ulink.hyphenate</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> +</refmeta> +<refnamediv> +<refname>ulink.hyphenate</refname> +<refpurpose>Allow URLs to be automatically hyphenated</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<src:fragment xml:id="ulink.hyphenate.frag"> +<xsl:param name="ulink.hyphenate"></xsl:param> +</src:fragment> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>If not empty, the specified character (or more generally, +content) is added to URLs after every character included in the string +in the <parameter>ulink.hyphenate.chars</parameter> parameter (default +is <quote>/</quote>) to enable hyphenation of ulinks. If the character +in this parameter is a Unicode soft hyphen (0x00AD) or Unicode +zero-width space (0x200B), some FO processors will be able to +reasonably hyphenate long URLs.</para> + +<para>Note that this hyphenation process is only applied when the +ulink element is empty and the url attribute is reused as the link +text. It is not applied if the ulink has literal text content. The +same applies in in DocBook 5, where ulink was replaced with link with +an xlink:href attribute.</para> + +</refsection> +</refentry> |