[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backslashes, macros, indexes, texinfo
From: |
David Kastrup |
Subject: |
Re: backslashes, macros, indexes, texinfo |
Date: |
Tue, 02 Jun 2015 09:56:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
>> @macro funindex {TEXT}
>> @findex \TEXT\
>> @kindex \TEXT\
>> @c
>> @end macro
>> @funindex \relative
>> @funindex relative
>>
>> [...]
>
> Thanks for your analysis.
>
>> 1) In the (unlikely but happy) event that the \foo index entries are
>> paired with foo entries, I think you could move the \ into the
>> macro definition. In what I've tried, this works reliably across
>> all the above implementations. As in:
>>
>> @macro funindexbs {TEXT}
>> @findex \\\TEXT\
>> @kindex \\\TEXT\
>> @findex \TEXT\
>> @kindex \TEXT\
>> @c
>> @end macro
>> @funindexbs relative
>
> At least for lilypond, this looks like a good solution.
We don't actually want xxx in the index, and the indexing commands write
@funindex \xxx
anyway. I also seem to remember that compensating for the unchanged
texinfo.tex in such manner messed up our HTML generation.
Up to now there also was the aggravation that \xxx gets placed under
letter '\' in the index rather than 'x'. Texinfo 6 is supposed to do
the sorting per awk script rather than per C program texindex. Whether
this means that one has easier access to sort orders I don't know.
--
David Kastrup
- backslashes, macros, indexes, texinfo, Karl Berry, 2015/06/01
- Re: backslashes, macros, indexes, texinfo, Werner LEMBERG, 2015/06/02
- Re: backslashes, macros, indexes, texinfo,
David Kastrup <=
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/06/02
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/06/23
- Re: backslashes, macros, indexes, texinfo, David Kastrup, 2015/06/23
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/06/24
- Re: backslashes, macros, indexes, texinfo, Gavin Smith, 2015/06/24
- Prev by Date:
Re: backslashes, macros, indexes, texinfo
- Next by Date:
Re: backslashes, macros, indexes, texinfo
- Previous by thread:
Re: backslashes, macros, indexes, texinfo
- Next by thread:
Re: backslashes, macros, indexes, texinfo
- Index(es):