]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/mc.ext
.mc: `pdftotext`: Preserve layout
[dotfiles.git] / .mc / mc.ext
index f0b5945fce3b38082df672d761413a4912ee835b..c032ee679ac6aa8d72c0b57e8d864d5ad7c48c9c 100644 (file)
@@ -510,7 +510,7 @@ type/^PDF
        Open=(see %f &)
        #Open=(acroread %f &)
        #Open=(ghostview %f &)
-       View=%view{ascii} pdftotext %f - | iconv.py -f utf-8
+       View=%view{ascii} pdftotext -layout -q %f - | iconv.py -f utf-8
 
 # The following code very ugly and should not be taken as example.
 # It should be cleaned up when the new format of mc.ext is developed.