I have an indexing package which uses 'makeindex', and the results are good. Indexing is quite complicated. If you care to look at the source it is in Index,pkg part of http://www.oxytropis.plus.com/groff/markup-1.0.7a.tar.gz Denis
On Thu, 23 Jul 2020 16:13:41 -0700 B 9 <hacke...@member.fsf.org> wrote: > Heirloom Troff has a handy string search function called .index which > works like this: > > .index R xx string > > The position where string occurs in xx is stored in register R. > > It doesn't seem to work yet in Groff, but I'm hoping somebody has a > macro that implements .index. > > Thanks, > > --b9 > --