[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: multilevel indexing for TeX
From: |
arnold |
Subject: |
Re: Feature request: multilevel indexing for TeX |
Date: |
Thu, 28 Feb 2019 04:50:38 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi. Sorry for the slow reply.
Gavin Smith <address@hidden> wrote:
> The existing \primary macro does not take a page argument. This could
> be used to give you:
>
> coffee makers
> electric ........... 32
>
> To get
>
> coffee makers ..... 15, 21
> electric ........... 32
>
> you would use \entry instead of \primary.
>
> See attached files: these work with the current texinfo.tex.
Nice.
> Another idea:
>
> @cindex coffee makers @sub electric @sub pink
I like this one. It is similar to @tab in tables.
You could then do:
@cindex @sortas{...} coffee makers @sub @sortas{...} electric @sub
@sortas{...} pink
I.e., each term could have its own (optional) @sortas clause.
> I remember there were problems with the positioning of @sortas: I'd like
> to see if they could be fixed.
Can you elaborate?
> > Could we do \tertiary also? Or is that asking too much?
>
> I don't see why not, it would just require more sorting logic in
> texindex.
Excellent. If you can give me a clear spec on the input and output
to texindex I can dive into it. (When you have one, of cousre.)
I'm pretty sure I still have committer rights to the project.
> > How do we move forward?
>
> Think of more problems that might occur and send mail about them.
See above. :-)
> Wait for me to implement it, or learn enough TeX and Perl, and enough
> about the Texinfo codebase to implement it yourself. Otherwise it is
> quite likely I will get to this some time in the next month.
I am starting to learn about TeX. It's a hard hill to climb though...
Much thanks!
Arnold