lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Displaying a pdf live on the Fly?


From: Steffen Nurpmeso
Subject: Re: [Lynx-dev] Displaying a pdf live on the Fly?
Date: Tue, 04 Jun 2019 14:44:06 +0200
User-agent: s-nail v14.9.13-65-ge5378403

Tim Chase wrote in <address@hidden>:
 |If you have the "pdftotext" utility (part of my "poppler-utils"
 |package here on Debian), you might be able to either use it in your
 |mailcap
 |
 |  pdftotext "%s" - | less
 |
 |or create a shell-script:
 |
 |  #!/bin/sh
 |  pdftotext "$1" - | less
 |
 |and then spawn that shell-script in your mailcap file:
 |
 |  application/pdf; my_pdf_to_text.sh "%s"

And do not forget the -layout argument.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]