This has been bothering me for a while.
.djvu files are often searchable, in my experience. So somewhere in there, all the text is just one big string, right? But there's no djvu2text program. And trying to select text in a djvu reader is a bit nightmarish, I find.