/index_in_latex_book

Add/remove indices to/from a book prepared in LaTeX

Primary LanguagePython

These files are created to add indices to a book prepared in LaTeX.

  1. Prepare list of indices. Prepare two files for single words and multi words with the following format. First word before comma is the word to be searched, the second word is the index name which will appear in the index page.

  2. Edit the file runme.sh and give the list of tex files and word files (prepared in step 1).

  3. Run runme.sh.

  4. To remove any indices, prepare a word list file and run remove_index.sh.

Contents of word list file to add index: (No empty lines)

arakkan,arakkan

bodhi,bodhi

chennai,chennai

dry fruits,dry fruit

-- end --

Contents of word list file to remove index: (No empty lines)

arakkan,REMOVE_THIS

bodhi,REMOVE_THIS

chennai,REMOVE_THIS

dry fruits,REMOVE_THIS

-- end --

Note: I have entered newlines between each line, else github is putting multiple lines in a single line.