Are you aware of the /study command? The text is much easier to read and even a search function is included.
Before that was implemented, I used to type the books into a text editor or extract the text with wireshark. To be honest, both methods are about equally tedius.