Package: less
Version: 394-4
Severity: wishlist
Tags: patch

Hi, for the *.pdf conversion for lesspipe, please consider
using the `-layout' option by default.  It causes pdftotext
to render using the same layout one would see in a PDF
viewer.

Regards, Karl

diff -u /usr/bin/lesspipe /tmp/buffer-content-22091GsC
--- /usr/bin/lesspipe   2006-10-16 04:02:04.000000000 -0700
+++ /tmp/buffer-content-22091GsC        2007-02-20 13:47:55.000000000 -0800
@@ -135,7 +135,7 @@
                                else echo "No lha available"; fi ;;
 
                        *.pdf)
-                               if [ -x "`which pdftotext`" ]; then pdftotext 
"$1" -
+                               if [ -x "`which pdftotext`" ]; then pdftotext 
-layout "$1" -
                                else echo "No pdftotext available"; fi ;;
 
                        *.rar|*.r[0-9][0-9])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to