Can you view pdf as pure text in terminal/ nox? reddit / emacs ---------------------------------------------------------------------- manho1e · 2022-04-10 06:20 I have seen some plugins that convert pdf pages into images but is there one that converts them into text? ---------------------------------------------------------------------- Phil-Hudson · 2022-04-10 07:53 There are command line tools such as pdftotext. Nothing to do with Emacs though. ---------------------------------------------------------------------- kiki_lamb · 2022-04-10 10:31 Yup, sure. I used to use something like this for that purpose: https://www.emacswiki.org/emacs/UnPdf It looks like someone's now created a mode to do the same thing: https://github.com/tecosaur/pdftotext.el ---------------------------------------------------------------------- Phil-Hudson · 2022-04-10 11:01 Looks like the latter is (unsurprisingly) a wrapper for the command- line tool of the same name. ---------------------------------------------------------------------- kiki_lamb · 2022-04-10 11:04 Indeed. Should get the job done, though. :) ---------------------------------------------------------------------- NoisyFrequency · 2022-04-10 12:06 You'll need to use a converting tool of some sort since PDF files are binary files. ---------------------------------------------------------------------- manho1e · 2022-04-11 02:11 would you mind explaining what a mode/wrapper is? does it mean I should download the original one or the mode? ---------------------------------------------------------------------- manho1e · 2022-04-11 02:29 Hi! Thank you! Is it within emacs or a terminal tool? Should I download the pdf first and then I can view it in emacs? ---------------------------------------------------------------------- manho1e · 2022-04-11 02:30 Thanks! i see, is viewing pdf while using eww doable?