I'm running Termux with XFCE desktop on Android. I only just realized that the only program I currently have installed that can properly open PDFs is GIMP, and that's extreme overkill as I just want a lightweight reader, no need to manipulate them as images ya know.

Also, related side question, are there any lightweight Linux terminal programs that can export PDF as plain text? I'm kinda hoping to pipe the text output of George Orwell 1984 through espeak reader and have Linux read it out to me...

Edit: Plain text and speech engine questions solved, and rather simple no less. This is the refined version BTW, --stdin is necessary to make espeak read the entire document.

pdftotext go-1984.pdf -|espeak --stdin

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 22 hours ago* (last edited 22 hours ago)

PDF viewer

https://gitlab.gnome.org/GNOME/evince

For OCR maybe ocrpdf from

https://github.com/uroesch/pdftools

Edit: ah no, ocr not needed if it's text already. As someone else already said there's a tool for plain text extraction.

  • source