yatex
changeset 468:84aa8dc36fd6 dev
Previewer default for macosx
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 22 Aug 2017 18:04:38 +0859 |
parents | 4f8551386af2 |
children | c743ffec2b1b |
files | yatex.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yatex.el Mon Jul 24 11:08:34 2017 +0859 1.2 +++ b/yatex.el Tue Aug 22 18:04:38 2017 +0859 1.3 @@ -52,8 +52,9 @@ 1.4 Overridden with `%#BIBTEX CommandLine...' in the buffer.") 1.5 1.6 (defvar dvi2-command ;previewer command for your site 1.7 - (if YaTeX-dos "dviout -wait=0" 1.8 - "xdvi -geo +0+0 -s 4") 1.9 + (cond (YaTeX-dos "dviout -wait=0") 1.10 + (YaTeX-macos "open -a Preview") 1.11 + (t "xdvi -geo +0+0 -s 4")) 1.12 "*Default previewer command including its option. 1.13 Overridden with `%#PREVIEW CommandLine...' in the buffer.") 1.14