From: Oleg Broytman Date: Mon, 10 Nov 2014 22:44:32 +0000 (+0300) Subject: View OpenDoc with odt2txt X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=a0257972b47f93b8804072542974ee1557bddb80;p=dotfiles.git View OpenDoc with odt2txt --- 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 &