Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 07 Mar 2016 02:23:08 -0600 From: ANTant@zimage.com (Ant) Subject: Re: Text-based PDF (read/view)ers in Linux? Newsgroups: comp.os.linux.setup,comp.os.linux.misc,alt.os.linux.alt.os.linux.debian References: User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/4.3.3-300.fc23.x86_64 (x86_64)) Message-ID: Date: Mon, 07 Mar 2016 02:23:08 -0600 Lines: 34 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.103.224.66 X-Trace: sv3-NybbkWEPSGtyaSEWoAmQzF9MhuCY9PFSPHO2wVPNVmn8WklNrE1W2OBSbI/BOywvEgxpq0x2Ob/GPPt!p1208Eb5hGBnn7Mu+UpSz7CKIFt8GoYsNuS3jQ7KyYHaEo4qY7SmX9L29OYz6UKG0NFbLyqDOH4l!5G0PtGCIgvNUVk0Em+HFHheO3dFqBAM= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2461 Xref: csiph.com comp.os.linux.setup:4039 comp.os.linux.misc:16919 > > Is there a text-based PDF (view/read)er for command line in Linux > > (Debian stable [Jessie])'s terminals like text based web browsers (Lynx, > > w3m, eLinks, etc.)? I also don't mean a PDF converter too. I tried > > "less" command that people suggested online, but it shows unreadable > > garbages and XML codes. :( > pdftotext > part of the poppler-utils package > Not exactly a viewer, but will serve the purpose: > pdftotext foo.pdf - | less > Also pdftohtml can be used: > pdftohtml -noframes foo.pdf foo.html > lynx foo.html > (pdftohtml is also part of the poppler-utils package) Interesting. Less command by itself wouldn't work correctly, but with pdftotext, it did work. Actually, this trick is good enough for me. Thanks! :) -- Quote of the Week: "Above ground I shall be food for kites; below I shall be food for mole-crickets and ants. Why rob one to feed the other?" --Juang-zu (4th Century B.C.) Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly. /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site) / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net | |o o| | \ _ / Please nuke ANT if replying by e-mail privately. If credit- ( ) ing, then please kindly use Ant nickname and AQFL URL/link.