yatex

diff yatex.el @ 410:9ab38ecfd3d1

Default previewer for PDF is taken from %#PDFVIEW instead of %#PREVIEW.
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 13 Feb 2015 08:20:12 +0900
parents 781604df4cbd
children b899adfd0879
line diff
     1.1 --- a/yatex.el	Wed Feb 11 11:45:37 2015 +0900
     1.2 +++ b/yatex.el	Fri Feb 13 08:20:12 2015 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
     1.5  ;;; (c)1991-2015 by HIROSE Yuuji.[yuuji@yatex.org]
     1.6 -;;; Last modified Wed Feb 11 11:40:20 2015 on firestorm
     1.7 +;;; Last modified Fri Feb 13 08:11:15 2015 on firestorm
     1.8  ;;; $Id$
     1.9  ;;; The latest version of this software is always available at;
    1.10  ;;; http://www.yatex.org/
    1.11 @@ -1676,17 +1676,18 @@
    1.12    "Operate %# notation."
    1.13    ;;Do not use interactive"r" for the functions which require no mark
    1.14    (interactive)
    1.15 -  (message "!)Edit-%%#! D)VIPDF B)EGIN-END-region P)review L)PR M)akeidx b)ibtex dp(I)")
    1.16 +  (message "!)Edit-%%#! D)VIPDF B)EGIN-END P)review pdf(V)iew L)PR M)akeidx b)ibtex dp(I)")
    1.17    (let ((c (or char (read-char))) (string "") key
    1.18  	(b (make-marker)) (e (make-marker)))
    1.19      (save-excursion
    1.20        (cond
    1.21 -       ((rindex "!plmibd" c)		;Edit %#xxx
    1.22 +       ((rindex "!plmibdv" c)		;Edit %#xxx
    1.23  	(setq key (cdr (assq c '((?! . "!")
    1.24  				 (?p . "PREVIEW")
    1.25  				 (?l . "LPR")
    1.26  				 (?m . "MAKEINDEX")
    1.27  				 (?d . "DVIPDF")
    1.28 +				 (?v . "PDFVIEW")
    1.29  				 (?i . "IMAGEDPI")
    1.30  				 (?b . "BIBTEX")))))
    1.31  	(YaTeX-getset-builtin key t))