Re: Generating lindex entries

2009-02-23 Thread Helge Hafting

BcBob wrote:

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 


Such a tool could be useful in some cases - and just wrong in some 
other. For many kinds of book, you do _not_ want to index every place 
some word is used. Only those places that have important information 
about the concept.


Entries like this is of little use:
concept  25, 26, 28, 39, 42, 57 ,66-73, 78, 89-92, 104

Because the reader is not going to look up all that, and many of these 
places only mentions concept briefly. For most books, something like 
this is preferred:

concept  28, 66, 89

My editor told me never to index the same word more than 3 times. So I 
had to pick the most important sites. And when a word occur over and 
over in a multi-page discussion, just index the first page. The reader 
will then read the entire discussion anyway.


Of course there are some kinds of book where you may need to index every
occurence - but this is definitiely not a generic way of doing it.

Once I had a word to index, I found the search  replace dialog useful
for finding the word in the text.

Helge Hafting


Re: Generating lindex entries

2009-02-23 Thread Helge Hafting

BcBob wrote:

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 


Such a tool could be useful in some cases - and just wrong in some 
other. For many kinds of book, you do _not_ want to index every place 
some word is used. Only those places that have important information 
about the concept.


Entries like this is of little use:
concept  25, 26, 28, 39, 42, 57 ,66-73, 78, 89-92, 104

Because the reader is not going to look up all that, and many of these 
places only mentions concept briefly. For most books, something like 
this is preferred:

concept  28, 66, 89

My editor told me never to index the same word more than 3 times. So I 
had to pick the most important sites. And when a word occur over and 
over in a multi-page discussion, just index the first page. The reader 
will then read the entire discussion anyway.


Of course there are some kinds of book where you may need to index every
occurence - but this is definitiely not a generic way of doing it.

Once I had a word to index, I found the search  replace dialog useful
for finding the word in the text.

Helge Hafting


Re: Generating lindex entries

2009-02-23 Thread Helge Hafting

BcBob wrote:

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 


Such a tool could be useful in some cases - and just wrong in some 
other. For many kinds of book, you do _not_ want to index every place 
some word is used. Only those places that have important information 
about the concept.


Entries like this is of little use:
concept  25, 26, 28, 39, 42, 57 ,66-73, 78, 89-92, 104

Because the reader is not going to look up all that, and many of these 
places only mentions "concept" briefly. For most books, something like 
this is preferred:

concept  28, 66, 89

My editor told me never to index the same word more than 3 times. So I 
had to pick the most important sites. And when a word occur over and 
over in a multi-page discussion, just index the first page. The reader 
will then read the entire discussion anyway.


Of course there are some kinds of book where you may need to index every
occurence - but this is definitiely not a generic way of doing it.

Once I had a word to index, I found the "search & replace" dialog useful
for finding the word in the text.

Helge Hafting


Generating lindex entries

2009-02-16 Thread BcBob

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 

Microsoft Word provides a concordance file generator tool that also seems
useful. It takes a list of words and generates pointers to their locations
within the text.

I did a search and found some commercial packages: textract, macrex, and
cindex. But (a) I do not know how well they integrate with Lyx or Latex and
(b) they are expensive.

Any suggestions or comments welcome.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Generating lindex entries

2009-02-16 Thread BcBob

I found a perl script on the internet that makes a concordance. 
http://www.perlmonks.org/?node_id=104604

I ran it on my windows computer using cygwin (after downloading Perl) and it
works (mostly)

To use:
1. export document from Lyx as text
2. convert the text file to Unix style newlines (LF only). I do this with my
editor, Editpad Pro
3. run the script
MakeConcordance LyxText.txt  LyxTextConcord.txt

I noticed the Lyx text file includes the Latex code for equations and has
some lines beginning with [ like [Senseless!!! 
(I didn't know Lyx made editorial comments :-), which seems to give the Perl
code problems.

But this gets me part of the way there. It would be nice to have better
coupling between the output of the concordance program and Lyx.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Generating lindex entries

2009-02-16 Thread BcBob

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 

Microsoft Word provides a concordance file generator tool that also seems
useful. It takes a list of words and generates pointers to their locations
within the text.

I did a search and found some commercial packages: textract, macrex, and
cindex. But (a) I do not know how well they integrate with Lyx or Latex and
(b) they are expensive.

Any suggestions or comments welcome.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Generating lindex entries

2009-02-16 Thread BcBob

I found a perl script on the internet that makes a concordance. 
http://www.perlmonks.org/?node_id=104604

I ran it on my windows computer using cygwin (after downloading Perl) and it
works (mostly)

To use:
1. export document from Lyx as text
2. convert the text file to Unix style newlines (LF only). I do this with my
editor, Editpad Pro
3. run the script
MakeConcordance LyxText.txt  LyxTextConcord.txt

I noticed the Lyx text file includes the Latex code for equations and has
some lines beginning with [ like [Senseless!!! 
(I didn't know Lyx made editorial comments :-), which seems to give the Perl
code problems.

But this gets me part of the way there. It would be nice to have better
coupling between the output of the concordance program and Lyx.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Generating lindex entries

2009-02-16 Thread BcBob

I am looking for open source tools to help generating index entries. I know
Lyx has an interface to the Latex makeindex utility but I am looking for
utilities to generate a list of the words, phrases etc to use in the index.
Something as simple as a utility to find all unique words in the index with
pointers back to the original location in the file would help a lot. 

Microsoft Word provides a concordance file generator tool that also seems
useful. It takes a list of words and generates pointers to their locations
within the text.

I did a search and found some commercial packages: textract, macrex, and
cindex. But (a) I do not know how well they integrate with Lyx or Latex and
(b) they are expensive.

Any suggestions or comments welcome.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2336743.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Generating lindex entries

2009-02-16 Thread BcBob

I found a perl script on the internet that makes a concordance. 
http://www.perlmonks.org/?node_id=104604

I ran it on my windows computer using cygwin (after downloading Perl) and it
works (mostly)

To use:
1. export document from Lyx as text
2. convert the text file to Unix style newlines (LF only). I do this with my
editor, Editpad Pro
3. run the script
MakeConcordance LyxText.txt > LyxTextConcord.txt

I noticed the Lyx text file includes the Latex code for equations and has
some lines beginning with [ like [Senseless!!! 
(I didn't know Lyx made editorial comments :-), which seems to give the Perl
code problems.

But this gets me part of the way there. It would be nice to have better
coupling between the output of the concordance program and Lyx.

Bob

-- 
View this message in context: 
http://n2.nabble.com/Generating-lindex-entries-tp2336743p2337046.html
Sent from the LyX - Users mailing list archive at Nabble.com.