Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/yatex.el Mon Jul 24 11:08:34 2017 +0859 +++ b/yatex.el Tue Aug 22 18:04:38 2017 +0859 @@ -52,8 +52,9 @@ Overridden with `%#BIBTEX CommandLine...' in the buffer.") (defvar dvi2-command ;previewer command for your site - (if YaTeX-dos "dviout -wait=0" - "xdvi -geo +0+0 -s 4") + (cond (YaTeX-dos "dviout -wait=0") + (YaTeX-macos "open -a Preview") + (t "xdvi -geo +0+0 -s 4")) "*Default previewer command including its option. Overridden with `%#PREVIEW CommandLine...' in the buffer.")