Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 14:03:16 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Olivier <Olivier.Nicole@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reading PDFs on the command line (with misc/lesspipe)
Message-ID:  <20160629140316.6b0e9b4a.freebsd@edvax.de>
In-Reply-To: <wu7d1n01auj.fsf@banyan.cs.ait.ac.th>
References:  <20160629132633.106636d7@archlinux.localdomain> <wu7d1n01auj.fsf@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Jun 2016 18:41:08 +0700, Olivier wrote:
> Ralf Mardorf via freebsd-questions <freebsd-questions@freebsd.org>
> writes:
> 
> > On Wed, 29 Jun 2016 12:29:45 +0200, Niklaas Baudet von Gersdorff wrote:
> >>  $ less some.pdf
> >
> > http://www.manualpages.de/FreeBSD/FreeBSD-ports-9.0-RELEASE/man1/pdftotext.1.html
> > http://unix.stackexchange.com/questions/41362/view-pdf-file-in-terminal
> >
> > I wonder how it is handled assumed "some.pdf" is just a scanned picture
> > of text converted to pdf ;).
> 
> /usr/local/libexec/xpdf/pdfimages is installed by default by package
> xpdf.

And then use ImageMagick to convert it to ASCII art. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160629140316.6b0e9b4a.freebsd>