Unless someone has an idea for a
    more general solution? 

Well, what comes immediately to mind is something like:
@idxtable <itemcmd> <indexcmd>

Examples:
@idxtable @kbd @kindex

@defindex arg
@idxtable @code @argindex

FWIW ... -k

Reply via email to