yatex
changeset 331:d9c547265e6e dev
Insertion of includegraphics and args should be done separately
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 16 Dec 2014 11:31:45 +0900 |
parents | 9cef5d10a0f1 |
children | 111e7a3094e8 |
files | yatex23.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/yatex23.el Tue Dec 16 11:12:38 2014 +0900 1.2 +++ b/yatex23.el Tue Dec 16 11:31:45 2014 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatex23.el --- YaTeX facilities for Emacs 23 or later -*- coding: sjis -*- 1.5 ;;; (c)2014 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Tue Dec 16 11:08:10 2014 on firestorm 1.7 +;;; Last modified Tue Dec 16 11:29:14 2014 on firestorm 1.8 ;;; $Id:$ 1.9 1.10 ;;; Code: 1.11 @@ -18,8 +18,8 @@ 1.12 ((memq action '(copy link move private)) 1.13 (cond 1.14 ((string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|tiff?\\|e?ps\\|pdf\\)$" path) 1.15 - (insert "\\includegraphics" 1.16 - "{" (YaTeX::includegraphics 1 path t) "}") 1.17 + (insert "\\includegraphics") 1.18 + (insert "{" (YaTeX::includegraphics 1 path t) "}") 1.19 (YaTeX-package-auto-usepackage "includegraphics" 'section)) 1.20 ((string-match "\\.tex$" path) 1.21 (insert "\\include{" path "}"))