Book logo xindy

A Flexible Indexing System

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some questions

On Tue, Mar 21, 2000 at 10:37:11PM +0300, Vladimir Volovich wrote:

> > This is probably broken. Use '0' instead of 'none' (does the same thing).
> >
> > (define-location-class "arabic-page-numbers" ("arabic-numbers")
> > :min-range-length 0)
> In this case i get something like
> \entry {Some Item}{64--64}
> in each and every \entry line.

My mistake. I'm sorry for posting this message without testing it first.
I only looked at the LISP source file idxstyle.lsp:
      (t (when (eql 'none min-range-length)
                 (setq min-range-length 0))

That lead me to conclude the keyword "none" were equivalent to 0 ! 
But it seems this feature of xindy is _badly_ broken.

For now, I suggest you use
  (define-location-class "arabic-page-numbers" ("arabic-numbers")
  :min-range-length n)

where n is an integer number greater than the total number of pages in your
document. (You have already tried this, haven't you? ;-)

Thomas Henlich