From: Scott Kostyshak Date: Fri, 23 May 2014 10:58:21 +0000 (-0400) Subject: Add Sumatra as a PDF reader X-Git-Tag: 2.2.0alpha1~1900 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e716f1ef126d2011a186bc30a47e81ecc0abcfd0;p=lyx.git Add Sumatra as a PDF reader It currently does not make a difference that it is before Adobe Reader in configure.py because as Enrico points out on Windows the default viewer configured in the OS is used. --- diff --git a/lib/configure.py b/lib/configure.py index ddaeb0c9e4..c8e8267e40 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -653,7 +653,7 @@ def checkFormatEntries(dtl_tools): \Format ps ps Postscript t "%%" "" "document,vector,menu=export" "application/postscript"''']) # for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/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', 'evince', 'kghostview', 'xpdf', 'acrobat', 'acroread', 'mupdf', \ + checkViewer('a PDF previewer', ['pdfview', 'kpdf', 'okular', 'evince', 'kghostview', 'xpdf', 'SumatraPDF', 'acrobat', 'acroread', 'mupdf', \ 'gv', 'ghostview'], rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document,vector,menu=export" "" \Format pdf2 pdf "PDF (pdflatex)" F "%%" "" "document,vector,menu=export" ""