Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #16919

Re: Text-based PDF (read/view)ers in Linux?

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 <fNednWHCLYvwcUbLnZ2dnUU7-TVQAAAA@earthlink.com> <adKdnTPC4ur_qkHLnZ2dnUU7-f3NnZ2d@giganews.com>
Message-ID <hJSdnTSsr77xp0DLnZ2dnUU7-VPNnZ2d@earthlink.com> (permalink)
Date 2016-03-07 02:23 -0600

Cross-posted to 3 groups.

Show all headers | View raw


> > 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.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Text-based PDF (read/view)ers in Linux? ANTant@zimage.com (Ant) - 2016-03-06 02:38 -0600
  Re: Text-based PDF (read/view)ers in Linux? Robert Heller <heller@deepsoft.com> - 2016-03-06 07:57 -0600
    Re: Text-based PDF (read/view)ers in Linux? ANTant@zimage.com (Ant) - 2016-03-07 02:23 -0600
      Re: Text-based PDF (read/view)ers in Linux? William Unruh <unruh@invalid.ca> - 2016-03-07 08:56 +0000
        Re: Text-based PDF (read/view)ers in Linux? "Carlos E.R." <robin_listas@invalid.es> - 2016-03-08 19:06 +0100
      Re: Text-based PDF (read/view)ers in Linux? "Carlos E.R." <robin_listas@invalid.es> - 2016-03-08 15:02 +0100
        Re: Text-based PDF (read/view)ers in Linux? ANTant@zimage.com (Ant) - 2016-03-09 13:04 -0600
  Re: Text-based PDF (read/view)ers in Linux? The Natural Philosopher <tnp@invalid.invalid> - 2016-03-06 14:21 +0000
    Re: Text-based PDF (read/view)ers in Linux? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-03-06 09:49 -0500
    Re: Text-based PDF (read/view)ers in Linux? "Carlos E.R." <robin_listas@invalid.es> - 2016-03-06 23:12 +0100
    Re: Text-based PDF (read/view)ers in Linux? Teemu Likonen <tlikonen@iki.fi> - 2016-03-07 07:29 +0200

csiph-web