Mercurial > hgrepos > hgweb.cgi > yatex
comparison yatex.el @ 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 | 5bb46b7ab3de |
children | 523f54775325 |
comparison
equal
deleted
inserted
replaced
524:b1896ef49747 | 525:e0222b0ab207 |
---|---|
1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- | 1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- |
2 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org] | 2 ;;; (c)1991-2018 by HIROSE Yuuji.[yuuji@yatex.org] |
3 ;;; Last modified Fri Jan 19 22:18:34 2018 on firestorm | 3 ;;; Last modified Tue Jan 23 12:55:49 2018 on firestorm |
4 ;;; $Id$ | 4 ;;; $Id$ |
5 ;;; The latest version of this software is always available at; | 5 ;;; The latest version of this software is always available at; |
6 ;;; https://www.yatex.org/ | 6 ;;; https://www.yatex.org/ |
7 | 7 |
8 ;;; This program is distributed as a free software. You can | 8 ;;; This program is distributed as a free software. You can |
93 (cond | 93 (cond |
94 (YaTeX-dos "acroread") | 94 (YaTeX-dos "acroread") |
95 (YaTeX-macos (cond | 95 (YaTeX-macos (cond |
96 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim") | 96 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim") |
97 (t "open"))) | 97 (t "open"))) |
98 (t "evince")) | 98 ((YaTeX-executable-find "evince") "evince") |
99 ((YaTeX-executable-find "xreader") "xreader") | |
100 ((YaTeX-executable-find "atril") "atril") | |
101 ((YaTeX-executable-find "okular") "okular") | |
102 ((YaTeX-executable-find "kpdf") "kpdf") | |
103 ((YaTeX-executable-find "xpdf") "xpdf") | |
104 ((YaTeX-executable-find "mupdf") "mupdf") | |
105 (t "acroread")) | |
99 "*Default PDF viewer command including its option. | 106 "*Default PDF viewer command including its option. |
100 Overridden with `%#PDFVIEW CommandLine...' in the buffer.") | 107 Overridden with `%#PDFVIEW CommandLine...' in the buffer.") |
101 | 108 |
102 (defvar makeindex-command (if YaTeX-dos "makeind" "makeindex") | 109 (defvar makeindex-command (if YaTeX-dos "makeind" "makeindex") |
103 "*Default makeindex command. | 110 "*Default makeindex command. |