[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Indexing these days with groff

From: Johann Höchtl
Subject: Re: [Groff] Indexing these days with groff
Date: Thu, 13 Sep 2012 17:21:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

On 09/09/2012 10:01 PM, (Ted Harding) wrote:
I go with Denis on using makeindex! The standard troff tools for
indexing and bibliography are too limited and inflexible for
serious use, and are very difficult to modify, let alone to extend.

As promised, my report on using indexing with groff that far.

First, I settled (for now) with makeindex. Makeindex is widely known to be at version 2.12 (frozen in 1990) and available here:

Yet it got tightly integrated into the TeX world, and the new life is

where it has happily advanced to V2.15 with some respectable additions:

Somewhat unfortunate, 2.15 has been integrated into the TeX building system and requires the KPATHSEA environment. Here my successful endeavour to get it go with groff anyway:

1. Download V2.12 of makeindex and extract the makefile
2. Get all the .c, .h files and file of makeindex V2.15
3. rename to c-auto.h
4. apply the attached patches on Makefile and mkind.c
5. run 'make' and be happy :=)

the generated makeindex passes the troff sample in the original makeindex V2.12 of 1990 (after some tweaks to the minimal 'makeind' shell script)

Now incorporating the ideas of
from index.tmac and I am ready to go.

BTW: The patch to mkind.c of makeindex V2.15 is generic and should permanently be in anyway to make makeindex buildable without the whole TeX source tree, if KPATHSEA is not required. I'll inform the current maintainer, maybe he will consider the patch.

Greetings, Johann

E-Mail: (Ted Harding) <address@hidden>
Date: 09-Sep-2012  Time: 21:01:21
This message was sent by XFMail

Attachment: Makefile.diff
Description: Text Data

Attachment: mkind.c.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]