commit e716f1ef126d2011a186bc30a47e81ecc0abcfd0 Author: Scott Kostyshak <skost...@lyx.org> Date: Fri May 23 06:58:21 2014 -0400
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 ddaeb0c..c8e8267 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" ""