yatex

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 diff
     1.1 --- a/yatex.el	Tue Jan 23 10:44:10 2018 +0900
     1.2 +++ b/yatex.el	Sat Feb 24 16:42:28 2018 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
     1.5  ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org]
     1.6 -;;; Last modified Fri Jan 19 22:18:34 2018 on firestorm
     1.7 +;;; Last modified Tue Jan 23 12:55:49 2018 on firestorm
     1.8  ;;; $Id$
     1.9  ;;; The latest version of this software is always available at;
    1.10  ;;; https://www.yatex.org/
    1.11 @@ -95,7 +95,14 @@
    1.12     (YaTeX-macos	(cond
    1.13  		 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim")
    1.14  		 (t "open")))
    1.15 -   (t		"evince"))
    1.16 +   ((YaTeX-executable-find "evince")		"evince")
    1.17 +   ((YaTeX-executable-find "xreader")		"xreader")
    1.18 +   ((YaTeX-executable-find "atril")		"atril")
    1.19 +   ((YaTeX-executable-find "okular")		"okular")
    1.20 +   ((YaTeX-executable-find "kpdf")		"kpdf")
    1.21 +   ((YaTeX-executable-find "xpdf")		"xpdf")
    1.22 +   ((YaTeX-executable-find "mupdf")		"mupdf")
    1.23 +   (t		"acroread"))
    1.24    "*Default PDF viewer command including its option.
    1.25  Overridden with `%#PDFVIEW CommandLine...' in the buffer.")
    1.26