]> git.lyx.org Git - lyx.git/commitdiff
Add Sumatra as a PDF reader
authorScott Kostyshak <skostysh@lyx.org>
Fri, 23 May 2014 10:58:21 +0000 (06:58 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 24 May 2014 11:37:16 +0000 (07:37 -0400)
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.

lib/configure.py

index ddaeb0c9e4d8d9f4ff0409f9c77d9627f1c3254e..c8e8267e40548546f41368ac831c3df0893f2f46 100644 (file)
@@ -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"   ""