yatex
diff yatexprc.el @ 53:5f4b18da14b3
Fix functions relating YaTeX-beginning-of-environment or
YaTeX-end-of-environment.
Line indentation by TAB much improved.
Functions that work at enclosing environments, YaTeX-enclose-<ENVNAME>,
introduced. Functions for enclosing verbatim and equations are supplied.
SPC, DEL, +, - in YaTeX-hierarchy buffer.
Compensate odd highlighting of hilit19.
author | yuuji |
---|---|
date | Thu, 02 Feb 1995 17:18:29 +0000 |
parents | 5d94deabb9f9 |
children | 18f4939986e6 |
line diff
1.1 --- a/yatexprc.el Sun Jan 22 14:20:46 1995 +0000 1.2 +++ b/yatexprc.el Thu Feb 02 17:18:29 1995 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; YaTeX process handler. 1.5 ;;; yatexprc.el 1.6 ;;; (c )1993-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 1.7 -;;; Last modified Sun Jan 22 23:14:44 1995 on landcruiser 1.8 +;;; Last modified Sat Jan 28 01:01:44 1995 on VFR 1.9 ;;; $Id$ 1.10 1.11 (require 'yatex) 1.12 @@ -632,7 +632,11 @@ 1.13 (setq cmd 1.14 (read-string-with-history 1.15 "Edit command line: " 1.16 - (format cmd (YaTeX-get-preview-file-name)) 1.17 + (format cmd 1.18 + (if (get 'dvi2-command 'region) 1.19 + (substring YaTeX-texput-file 1.20 + 0 (rindex YaTeX-texput-file ?.)) 1.21 + (YaTeX-get-preview-file-name))) 1.22 'YaTeX-lpr-command-history)) 1.23 (save-excursion 1.24 (YaTeX-visit-main t) ;;change execution directory