From owner-freebsd-questions@freebsd.org Wed Jun 29 12:03:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 856D3B86FF6 for ; Wed, 29 Jun 2016 12:03:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E5282929 for ; Wed, 29 Jun 2016 12:03:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-113-71.dynamic.qsc.de [92.195.113.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 6D6BB27A32; Wed, 29 Jun 2016 14:03:16 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u5TC3GdW003019; Wed, 29 Jun 2016 14:03:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 29 Jun 2016 14:03:16 +0200 From: Polytropon To: Olivier 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: References: <20160629132633.106636d7@archlinux.localdomain> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 12:03:20 -0000 On Wed, 29 Jun 2016 18:41:08 +0700, Olivier wrote: > Ralf Mardorf via freebsd-questions > 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, ...