add pdfgrep, grep for text in PDF files.
add idxgrep, grep in TEX files for \index{..} entries