From a0257972b47f93b8804072542974ee1557bddb80 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 11 Nov 2014 01:44:32 +0300 Subject: [PATCH] View OpenDoc with odt2txt --- .mc/menu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mc/menu b/.mc/menu index f849f01..76b3718 100644 --- a/.mc/menu +++ b/.mc/menu @@ -57,6 +57,10 @@ T fb2txt esac $A %f | xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl - | webstdin -e txt -t ++= t r & f \.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ +o View OpenDoc with odt2txt + odt2txt %f | ${PAGER:-more} + += t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$ e View pdf/djvu with evince evince %f & -- 2.39.2