# HG changeset patch # User HIROSE Yuuji # Date 1351149939 -32400 # Node ID dffc0d979ae0fddca88401bc7721da244fee4bf6 # Parent 5921f28ef77c32aa825fed621ca690e6d686aa2e Use %#DVIPDF on `[prefix] t d'. diff -r 5921f28ef77c -r dffc0d979ae0 yatex.el --- a/yatex.el Sat Sep 01 08:14:41 2012 +0900 +++ b/yatex.el Thu Oct 25 16:25:39 2012 +0900 @@ -1,7 +1,6 @@ ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- - ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Sat Sep 1 07:37:53 2012 on firestorm +;;; Last modified Thu Oct 25 16:24:50 2012 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ @@ -1627,7 +1626,8 @@ ((= c ?k) (YaTeX-kill-typeset-process YaTeX-typeset-process)) ((= c ?p) (call-interactively 'YaTeX-preview)) ((= c ?q) (YaTeX-system "lpq" "*Printer queue*")) - ((= c ?d) (YaTeX-typeset-buffer YaTeX-dvipdf-command)) + ((= c ?d) (YaTeX-typeset-buffer + (or (YaTeX-get-builtin "DVIPDF") YaTeX-dvipdf-command))) ((= c ?v) (YaTeX-view-error)) ((= c ?l) (YaTeX-lpr arg)) ((= c ?m) (YaTeX-switch-mode-menu arg))