bug-texinfo
[Top][All Lists]
Advanced

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

Re: Feature request: multilevel indexing for TeX


From: Gavin Smith
Subject: Re: Feature request: multilevel indexing for TeX
Date: Fri, 1 Mar 2019 21:58:31 +0000

On 3/1/19, Gavin Smith <address@hidden> wrote:
> Whatever output is chosen, it would be good to check how existing
> versions of texindex deal with it: we should avoid completely breaking
> them if at all possible.

So awk texindex, given the input indextab.cp:

\entry{one}{1}{one}
\entry{one\subind two}{1}{one}{two}
\entry{one\subind twox\subind three}{1}{one}{twox}{three}
\entry{one\subind twox\subind bazinga}{1}{one}{twox}{bazinga}

produces the output indextab.cps:

\entry {one}{1}
\entry {one}{two}{1}
\entry {one}{twox}{bazinga}{1}
\entry {one}{twox}{three}{1}

which is not formatted properly when read back in, as \entry has to
take only two arguments: the extra arguments are typeset in the index,
which doesn't look good.

I found the output index file indextab.cp would in fact end up as an
empty file when @printindex cp was used when this kind of data
appeared in indextab.cps, although I didn't discover why.

Maybe it will just have to be accepted that out-of-date versions of
texindex shouldn't be used with multi-level index entries, otherwise
the index will appear somewhat mangled.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]