Thanks a lot for your suggestion and the comprehensive explanation why
it would not be a good idea to do it.
I'll think about it,
Rainer
Helge Hafting wrote:
Rainer M Krug wrote:
Hi
is there a tool which I can use to find all occurrences of a word and
add it automatically to the index?
There is currently no such way in lyx.
You may be able to do this by opening the .lyx file
in a text editor and do a searcy&replace on it, replacing the
word in question with an index entry. (Add a single index
entry first to see exactly what an index entry look like in the .lyx file.)
Be sure that you really want to index this way, adding _every_
occurence of a word. Sometimes it is the right thing to do,
but often enough it is not.
My publisher told me to never add more than 3 index entries for
any word, unless there was an extremely good reason. This because
of the way the reader uses an index. He uses it to look up
a word/concept, and so the index should contain the most important
places to look it up. Not the less important places, because
almost no reader is going to look up some word in 17 different places.
They want the main text on that word, not all places it was mentioned.
They just give up if the index point out too many places, or they
look up a handful before giving up.
This advice was for a book on algorithms. There are obvious exceptions
to such a rule, just make sure your case really is one before you
index every occurence of some word. "The computer makes it easy to do"
sometimes result in a useless index.
Helge Hafting
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)86 516 2782
Fax: +27 - (0)21 808 3304 (w)
Cell: +27 - (0)83 9479 042
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]