| <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="index.range.separator"> |
| <refmeta> |
| <refentrytitle>index.range.separator</refentrytitle> |
| <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> |
| </refmeta> |
| <refnamediv> |
| <refname>index.range.separator</refname> |
| <refpurpose>Override for punctuation separating the two numbers |
| in a page range in index</refpurpose> |
| </refnamediv> |
| |
| <refsynopsisdiv> |
| <src:fragment xml:id="index.range.separator.frag"> |
| <xsl:param name="index.range.separator"></xsl:param> |
| </src:fragment> |
| </refsynopsisdiv> |
| |
| <refsection><info><title>Description</title></info> |
| |
| <para>This parameter permits you |
| to override the text to insert between |
| the two numbers of a page range in an index. |
| This parameter is only used by those XSL-FO processors |
| that support an extension for generating such page ranges |
| (such as XEP).</para> |
| |
| <para>Because this text may be locale dependent, |
| this parameter's value is normally taken from a gentext |
| template named 'range-separator' in the |
| context 'index' in the stylesheet |
| locale file for the language |
| of the current document. |
| This parameter can be used to override the gentext string, |
| and would typically be used on the command line. |
| This parameter would apply to all languages. |
| </para> |
| |
| <para>So this text string can be customized in two ways. |
| You can reset the default gentext string using |
| the <parameter>local.l10n.xml</parameter> parameter, or you can |
| override the gentext with the content of this parameter. |
| The content can be a simple string, or it can be |
| something more complex such as a call-template. |
| </para> |
| |
| <para>In HTML index output, section title references are used instead of |
| page number references. So there are no page ranges |
| and this parameter has no effect. |
| </para> |
| |
| </refsection> |
| </refentry> |