changeset 525:e0222b0ab207 dev

More search trial for pdf viewers
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 24 Feb 2018 16:42:28 +0900
parents b1896ef49747
children 8eb15c0f9627
files yatex.el
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatex.el	Tue Jan 23 10:44:10 2018 +0900
+++ b/yatex.el	Sat Feb 24 16:42:28 2018 +0900
@@ -1,6 +1,6 @@
 ;;; yatex.el --- Yet Another tex-mode for emacs //쒹// -*- coding: sjis -*-
 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Jan 19 22:18:34 2018 on firestorm
+;;; Last modified Tue Jan 23 12:55:49 2018 on firestorm
 ;;; $Id$
 ;;; The latest version of this software is always available at;
 ;;; https://www.yatex.org/
@@ -95,7 +95,14 @@
    (YaTeX-macos	(cond
 		 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim")
 		 (t "open")))
-   (t		"evince"))
+   ((YaTeX-executable-find "evince")		"evince")
+   ((YaTeX-executable-find "xreader")		"xreader")
+   ((YaTeX-executable-find "atril")		"atril")
+   ((YaTeX-executable-find "okular")		"okular")
+   ((YaTeX-executable-find "kpdf")		"kpdf")
+   ((YaTeX-executable-find "xpdf")		"xpdf")
+   ((YaTeX-executable-find "mupdf")		"mupdf")
+   (t		"acroread"))
   "*Default PDF viewer command including its option.
 Overridden with `%#PDFVIEW CommandLine...' in the buffer.")