summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/TLpatches/patch-10-doc-min-range
blob: d26e322138a1b64446ff2afac91602cffcb0d740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
	https://tug.org/pipermail/tex-live/2020-May/045760.html

Index: xindy-src/doc/manual-3.html
===================================================================
--- xindy-src/doc/manual-3.html	(revision 54835)
+++ xindy-src/doc/manual-3.html	(working copy)
@@ -185,8 +185,8 @@
 keyword argument <CODE>:sep</CODE>. If the keyword <CODE>:min-range-length</CODE> is
 specified we define the <EM>minimum range length</EM> to be used when
 building ranges. The argument <CODE>num</CODE> must be a positive integer
-number or the keyword <CODE>none</CODE> in which case the building of ranges
-is disallowed. If the switch <CODE>:var</CODE> is specified the declared class
+number. Use a sufficiently large number (such as 10000) to disallow the building of ranges.
+If the switch <CODE>:var</CODE> is specified the declared class
 is of type <EM>variable</EM>, i.e. it is a <EM>var-location-class</EM>. Since
 building of ranges is currently only allowed for standard classes
 <CODE>:var</CODE> and <CODE>:min-range-length</CODE> must not be used together. The
@@ -198,7 +198,7 @@
 <P>
 <PRE>
   (define-location-class "page-numbers" ("arabic-numbers")
-                         :minimum-range-length 3)
+                         :min-range-length 3)
 </PRE>
 <P>Defines the location class <CODE>page-numbers</CODE> consisting of one layer
 which is the alphabet <CODE>arabic-numbers</CODE>. Since the minimum
Index: xindy-src/doc/faq-4.html
===================================================================
--- xindy-src/doc/faq-4.html	(revision 54835)
+++ xindy-src/doc/faq-4.html	(working copy)
@@ -460,11 +460,12 @@
 the form
 <P>
 <PRE>
-  (define-location-class ... :min-range-length none)
+  (define-location-class ... :min-range-length 100000)
 </PRE>
-<P>The argument <CODE>:min-range-length none</CODE> avoids forming of ranges.
-Arbitrary numbers instead of <CODE>none</CODE> define the minimum length of a
-sequence of location references that are needed to form a range.
+<P>Arbitrary numbers define the minimum length of a sequence of location references that are needed to form a range.
+The use of a sufficiently large number (such as <CODE>:min-range-length 100000</CODE>) avoids forming of ranges
+(unless your document has more than 100.000 pages and an index entry spans all of them; in this unlikely case, just increase
+the number sufficiently).
 <SF>xindy</SF>s default value is&nbsp;2.
 <P>
 <P>