Werner LEMBERG <[email protected]> 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
