[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: |
Sun, 03 Mar 2019 12:44:03 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
> 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.
I think we just have to say that.
> Implemented as @subentry in git commit 372cfab.
>
> A test file is attached. Please feel free to experiment.
Excellent! Will do.
A few questions.
1. texindex.awk has provision for both \ and @ to be the command character
(\entry vs. @entry). Do we still need that? Or will it always be backslash?
2. What do we wish to do about "see" and "see also"? I have a thought...
With respect to output from texindex.awk, I suggest that each macro
allow empty page number arguments. Thus
@cindex coffee makers @subentry electic
@cindex coffee makers @subentry gerbel-driven
with no
@cindex coffee makers
would yield
\entry {coffee makers}{}
\secondary {electric}{3, 12}
\secondary {gerbel-driven}{9, 42}
and similar for \secondary if there are following \tertiary entries.
If that's the case, then texindex could also special case stuff like
\entry {espresso makers, see coffee makers}{23}{espresso makers, see
coffee makers}
as input and and turn it into
\entry {espresso makers, see coffee makers}{}
on output.
And similar for "see also".
Or we could go with keywords, to ensure that the user gets what they
wanted:
@cindex espresso makers @see{coffee makers}
@cindex coffee @seealso{instant coffee}
How much of this works for you?
Thanks!
Arnold
- Re: Feature request: multilevel indexing for TeX, arnold, 2019/03/01
- Re: Feature request: multilevel indexing for TeX, Patrice Dumas, 2019/03/01
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/01
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/01
- Re: Feature request: multilevel indexing for TeX,
arnold <=
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/03
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/03
- imperfect support in texindex for @ as escape character (was multilevel indexing for TeX), Gavin Smith, 2019/03/05
- Re: imperfect support in texindex for @ as escape character (was multilevel indexing for TeX), arnold, 2019/03/06
- Re: imperfect support in texindex for @ as escape character (was multilevel indexing for TeX), arnold, 2019/03/06
- Message not available
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/07
- Re: Feature request: multilevel indexing for TeX, arnold, 2019/03/07
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/08
- Re: Feature request: multilevel indexing for TeX, Gavin Smith, 2019/03/08
- Re: Feature request: multilevel indexing for TeX, arnold, 2019/03/14