index.range.separator.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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="index.range.separator">
  7. <refmeta>
  8. <refentrytitle>index.range.separator</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>index.range.separator</refname>
  13. <refpurpose>Override for punctuation separating the two numbers
  14. in a page range in index</refpurpose>
  15. </refnamediv>
  16. <refsynopsisdiv>
  17. <src:fragment xml:id="index.range.separator.frag">
  18. <xsl:param name="index.range.separator"></xsl:param>
  19. </src:fragment>
  20. </refsynopsisdiv>
  21. <refsection><info><title>Description</title></info>
  22. <para>This parameter permits you
  23. to override the text to insert between
  24. the two numbers of a page range in an index.
  25. This parameter is only used by those XSL-FO processors
  26. that support an extension for generating such page ranges
  27. (such as XEP).</para>
  28. <para>Because this text may be locale dependent,
  29. this parameter's value is normally taken from a gentext
  30. template named 'range-separator' in the
  31. context 'index' in the stylesheet
  32. locale file for the language
  33. of the current document.
  34. This parameter can be used to override the gentext string,
  35. and would typically be used on the command line.
  36. This parameter would apply to all languages.
  37. </para>
  38. <para>So this text string can be customized in two ways.
  39. You can reset the default gentext string using
  40. the <parameter>local.l10n.xml</parameter> parameter, or you can
  41. override the gentext with the content of this parameter.
  42. The content can be a simple string, or it can be
  43. something more complex such as a call-template.
  44. </para>
  45. <para>In HTML index output, section title references are used instead of
  46. page number references. So there are no page ranges
  47. and this parameter has no effect.
  48. </para>
  49. </refsection>
  50. </refentry>