> @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.


    Werner

Reply via email to