changeset 357:4ea63809a0ca dev

Insert `\includegraphics[dvipdfmx]{graphics}' without query
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 22 Dec 2014 11:16:46 +0900
parents af0bd0f86b27
children 2c2b70f41fb3
files yatex23.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatex23.el	Mon Dec 22 11:14:47 2014 +0900
+++ b/yatex23.el	Mon Dec 22 11:16:46 2014 +0900
@@ -1,6 +1,6 @@
 ;;; yatex23.el --- YaTeX facilities for Emacs 23 or later -*- coding: sjis -*-
 ;;; (c)2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Dec 19 21:43:54 2014 on firestorm
+;;; Last modified Mon Dec 22 11:15:48 2014 on firestorm
 ;;; $Id:$
 
 ;;; Code:
@@ -35,7 +35,8 @@
 	      (insert "\\includegraphics")
 	      (insert "{" (YaTeX::includegraphics 1 path t) "}")
 	      (save-excursion
-		(YaTeX-package-auto-usepackage "includegraphics" 'section))
+		(YaTeX-package-auto-usepackage
+		 "includegraphics" 'section "graphicx" "dvipdfmx"))
 	      (cond
 	       (b
 		(undo-boundary)

yatex.org