On Monday 14 May 2007 17:08, Jeremy C. Reed wrote:
> I emailed the following last November, but I don't recall receiving any
> feedback.
>
> Does anyone have a tool for automaticlly adding index entries for LyX? I
> thought there was a ruby script, but I can't find it now.
>
> I already have the list of terms to index. I don't want to manually as
> this list has a few hundred terms. (The book documents a software that has
> many options.) I can manually clean up after faster than I can insert
> manually.
>
>   Jeremy C. Reed

Hi Jeremy,

This is a non responsive answer, but in case you get no others, it might be 
better than nothing.

I'd think twice about auto indexing. You'll get an index with all mentions of 
each word, and like the old saying goes, if everything's important, nothing's 
important.

What I do for indexing is make a shellscript to print out every word in the 
book, sorted and duplicates removed. I search every seemingly relevent word, 
and manually add index entries. It took me a day and a half for my last book, 
an 80 page book. It's an ugly job, the journalistic equivalent of working in 
the sewers all day, but the resulting index was brief, useful, and properly 
prioritized.

SteveT

>
> ---------- Forwarded message ----------
> Date: Wed, 1 Nov 2006 14:34:13 -0600 (CST)
> From: Jeremy C. Reed <[EMAIL PROTECTED]>
> To: lyx-users@lists.lyx.org
> Subject: auto indexing?
>
> I am attempting to index a 125 page (or so) book that documents around 320
> commands.
>
> I am attempting to use the sed and awk scripts from
> http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html
>
> The first script, sedscr_list_index_items, I downloaded had two bugs --
> white space at end of #! line and a space in the expressiion after
> end_inset.
>
> I removed those and it seemed to work.
>
> The sedscr_delete_index_items and the awkscr_create_index_items scripts
> both appeared to work.
>
> Although I decided to create my own index items list (with semicolons at
> end of each line).
>
> The awkscr_insert_index_items does nothing for me. It returns in a few
> seconds. I using nawk version 20050424. I also tried GNU Awk 3.1.5.
>
> Any suggestions?
>
> Looking closer I now see the awk script is for older LyX format.
>
> I can update it ... but before I do, does anyone have an updated or
> different auto-indexer to try?
>
> Thanks,
>
> Jeremy C. Reed

Reply via email to