blob: aff09a93b7acefc330cafae91878ed64f9640185 [file] [log] [blame]
<refentry xmlns=""
version="5.0" xml:id="index.range.separator">
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
<refpurpose>Override for punctuation separating the two numbers
in a page range in index</refpurpose>
<src:fragment xml:id="index.range.separator.frag">
<xsl:param name="index.range.separator"></xsl:param>
<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>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>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.