commit bcf8a40a10f9fd6ed5f23581810fef240d50320f
Author: Günter Milde <[email protected]>
Date: Wed Jan 11 18:23:03 2017 +0100
configure.py: Add 'xreader' document viewer (evince fork)
'xreader' is the successor of 'evince' by Linux-Mint.
It inherits evince's functionaly and adds a traditional UI
matching the XFCE, MATE and Cinnamon desktop environments.
See: https://de.wikipedia.org/wiki/X-Apps
---
lib/configure.py | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/lib/configure.py b/lib/configure.py
index 4ce3989..b7cdf83 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -672,19 +672,21 @@ def checkFormatEntries(dtl_tools):
#
#checkProg('a Postscript interpreter', ['gs'],
# rc_entry = [ r'\ps_command "%%"' ])
- checkViewer('a Postscript previewer', ['kghostview', 'okular', 'qpdfview
--unique',
- 'evince', 'gv', 'ghostview -swap',
- 'gsview64', 'gsview32'],
+ checkViewer('a Postscript previewer',
+ ['kghostview', 'okular', 'qpdfview --unique',
+ 'evince', 'xreader',
+ 'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
rc_entry = [r'''\Format eps eps EPS ""
"%%" "" "vector" "image/x-eps"
\Format eps2 eps "EPS (uncropped)" "" "%%" ""
"vector" ""
\Format eps3 eps "EPS (cropped)" "" "%%" ""
"document" ""
\Format ps ps Postscript t "%%" ""
"document,vector,menu=export" "application/postscript"'''])
# for xdg-open issues look here:
http://www.mail-archive.com/[email protected]/msg151818.html
# the MIME type is set for pdf6, because that one needs to be
autodetectable by libmime
- checkViewer('a PDF previewer', ['pdfview', 'kpdf', 'okular', 'qpdfview
--unique',
- 'evince', 'kghostview', 'xpdf',
'SumatraPDF',
- 'acrobat', 'acroread', 'mupdf', 'gv',
- 'ghostview', 'AcroRd32', 'gsview64',
'gsview32'],
+ checkViewer('a PDF previewer',
+ ['pdfview', 'kpdf', 'okular', 'qpdfview --unique',
+ 'evince', 'xreader', 'kghostview', 'xpdf', 'SumatraPDF',
+ 'acrobat', 'acroread', 'mupdf',
+ 'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'],
rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P
"%%" "" "document,vector,menu=export" ""
\Format pdf2 pdf "PDF (pdflatex)" F "%%" ""
"document,vector,menu=export" ""
\Format pdf3 pdf "PDF (dvipdfm)" m "%%" ""
"document,vector,menu=export" ""
@@ -694,7 +696,8 @@ def checkFormatEntries(dtl_tools):
\Format pdf7 pdf "PDF (cropped)" "" "%%" ""
"document,vector" ""
\Format pdf8 pdf "PDF (lower resolution)" "" "%%" ""
"document,vector" ""'''])
#
- checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'evince',
+ checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular',
+ 'evince', 'xreader',
'yap', 'dviout -Set=!m'],
rc_entry = [r'''\Format dvi dvi DVI D
"%%" "" "document,vector,menu=export" "application/x-dvi"
\Format dvi3 dvi "DVI (LuaTeX)" V "%%" ""
"document,vector,menu=export" ""'''])