yatex

changeset 348:3478a327ae41 dev

DnD *.ind and *.big file
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 20 Dec 2014 12:30:39 +0900
parents 85737ee595a2
children b5bf68206bd1
files yatex23.el
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/yatex23.el	Fri Dec 19 07:48:47 2014 +0900
     1.2 +++ b/yatex23.el	Sat Dec 20 12:30:39 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 Thu Dec 18 22:59:02 2014 on firestorm
     1.7 +;;; Last modified Fri Dec 19 21:43:54 2014 on firestorm
     1.8  ;;; $Id:$
     1.9  
    1.10  ;;; Code:
    1.11 @@ -69,12 +69,15 @@
    1.12  			       (key-description
    1.13  				(car (where-is-internal 'undo)))))
    1.14  		      (put 'YaTeX-dnd-auto-figure 'guide t)))))
    1.15 -	      (YaTeX-help "includegraphics")
    1.16 -	      )
    1.17 +	      (YaTeX-help "includegraphics"))
    1.18  	  (set-marker envstart nil) ;;sure to reset marker
    1.19  	  action))
    1.20         ((string-match "\\(.*\\)\\.tex$" path)
    1.21 -	(insert "\\include{" (match-string 1 path) "}"))))
    1.22 +	(insert "\\include{" (match-string 1 path) "}"))
    1.23 +       ((string-match "\\(.*\\)\\.bib$" path)
    1.24 +	(insert "\\bibliography{" (match-string 1 path) "}"))
    1.25 +       ((string-match "\\.ind$" path)
    1.26 +	(insert "\\input{" path "}"))))
    1.27       (t (message "%s" action)))))
    1.28  
    1.29  (provide 'yatex23)