yatex

changeset 61:b9f753846b6b

Bug fix release
author yuuji
date Mon, 07 Apr 1997 20:07:48 +0000
parents 9e08ed569d80
children 7fb74de5a4e8
files help/YATEXHLP.jp yahtml.el yatex.el yatex.new yatex19.el yatexenv.el yatexhks.el yatexprc.el yatexsec.el
diffstat 9 files changed, 88 insertions(+), 45 deletions(-) [+]
line diff
     1.1 --- a/help/YATEXHLP.jp	Fri Jan 24 09:04:06 1997 +0000
     1.2 +++ b/help/YATEXHLP.jp	Mon Apr 07 20:07:48 1997 +0000
     1.3 @@ -1281,14 +1281,17 @@
     1.4  	と相談すると、「いらん」と一蹴し、しばらく経ってから「やっぱり欲
     1.5  	しい」と言うなど、多くの混乱を招かせていただきました。
     1.6  
     1.7 +	1997年3月10日、交通事故により愛機ZZ-R1100(D1)と共にあの世へ旅立
     1.8 +	たれました。享年二十六歳。彼には、野鳥だけでなく私が手掛けた数多
     1.9 +	くのソフトウェアを作る動機、センスあふれるコメントなどを頂きまし
    1.10 +	た。現在の野鳥が皆様に支持されるように健やかに育ったのは彼のおか
    1.11 +	げと言っても過言ではありません。野鳥/雷鳥/白鳥を使うときに彼の安
    1.12 +	らかな眠りを私と共に祈って下さい。
    1.13 +
    1.14  るねきちさん(asciinet)
    1.15  	占い師だそうです。
    1.16  	http://www.comp.ae.keio.ac.jp/~yuuji/lune/astrology/
    1.17  
    1.18 -柱川さん(prc)
    1.19 -        各所で暴れています。
    1.20 -	http://www.prc.tsukuba.ac.jp/~katsura/
    1.21 -
    1.22  三平善郎さん(慶應大)
    1.23  	開き括弧の入力時の処理のモード分けのアイデアを頂きました。
    1.24  
     2.1 --- a/yahtml.el	Fri Jan 24 09:04:06 1997 +0000
     2.2 +++ b/yahtml.el	Mon Apr 07 20:07:48 1997 +0000
     2.3 @@ -1,6 +1,6 @@
     2.4  ;;; -*- Emacs-Lisp -*-
     2.5  ;;; (c ) 1994-1997 by HIROSE Yuuji [yuuji@ae.keio.ac.jp]
     2.6 -;;; Last modified Fri Jan 24 18:03:01 1997 on supra
     2.7 +;;; Last modified Mon Apr  7 16:58:32 1997 on crx
     2.8  ;;; $Id$
     2.9  
    2.10  ;;;[Installation]
    2.11 @@ -115,7 +115,7 @@
    2.12    (yahtml-define-begend-key-normal key env map)
    2.13    (if YaTeX-inhibit-prefix-letter nil
    2.14      (yahtml-define-begend-region-key
    2.15 -     (concat (upcase (substring key 0 1)) (substring key 1)) env)))
    2.16 +     (concat (upcase (substring key 0 1)) (substring key 1)) env map)))
    2.17  
    2.18  
    2.19  (if yahtml-mode-map nil
    2.20 @@ -146,8 +146,10 @@
    2.21      (YaTeX-define-key ")" 'YaTeX-insert-parens-region map)
    2.22      (YaTeX-define-key "s" 'yahtml-insert-form map)
    2.23      (YaTeX-define-key "l" 'yahtml-insert-tag map)
    2.24 +    (YaTeX-define-key "L" 'yahtml-insert-tag-region map)
    2.25      (YaTeX-define-key "m" 'yahtml-insert-single map)
    2.26 -    (YaTeX-define-key "n" '(lambda () (interactive) (if yahtml-prefer-upcases (insert "<BR>")(insert "<br>"))) map)
    2.27 +    (YaTeX-define-key "n" '(lambda () (interactive) (insert (if yahtml-prefer-upcases "<BR>" "<br>"))) map)
    2.28 +    (YaTeX-define-key "-" '(lambda () (interactive) (insert (if yahtml-prefer-upcases "<HR>" "<hr>") "\n")) map)
    2.29      (if YaTeX-no-begend-shortcut
    2.30  	(progn
    2.31  	  (YaTeX-define-key "B" 'yahtml-insert-begend-region map)
    2.32 @@ -188,11 +190,11 @@
    2.33  
    2.34  (defvar yahtml-paragraph-start
    2.35    (concat
    2.36 -   "^$\\|<!--\\|^[ \t]*</?\\(h[1-6]\\|p\\|d[ldt]\\|[bhtd][rdh]\\|li\\|body\\|html\\|head\\|title\\|ul\\|ol\\|dl\\|pre\\|table\\|center\\)\\b")
    2.37 +   "^$\\|<!--\\|^[ \t]*</?\\(h[1-6]\\|p\\|d[ldt]\\|[bhtd][rdh]\\|li\\|body\\|html\\|head\\|title\\|ul\\|ol\\|dl\\|pre\\|table\\|center\\|blockquote\\)\\b")
    2.38    "*Regexp of html paragraph separater")
    2.39  (defvar yahtml-paragraph-separate
    2.40    (concat
    2.41 -   "^$\\|<!--\\|^[ \t]*</?\\(h[1-6]\\|p\\|[bhtd][ldt]\\|li\\|body\\|html\\|head\\|title\\|ul\\|ol\\|dl\\|pre\\|table\\|center\\|!--\\)\\b")
    2.42 +   "^$\\|<!--\\|^[ \t]*</?\\(h[1-6]\\|p\\|[bhtd][ldt]\\|li\\|body\\|html\\|head\\|title\\|ul\\|ol\\|dl\\|pre\\|table\\|center\\|blockquote\\|!--\\)\\b")
    2.43    "*Regexp of html paragraph separater")
    2.44  (defvar yahtml-syntax-table nil
    2.45    "*Syntax table for typesetting buffer")
    2.46 @@ -200,8 +202,8 @@
    2.47  (if yahtml-syntax-table nil
    2.48    (setq yahtml-syntax-table
    2.49  	(make-syntax-table (standard-syntax-table)))
    2.50 -  (modify-syntax-entry ?\< "(" yahtml-syntax-table)
    2.51 -  (modify-syntax-entry ?\> ")" yahtml-syntax-table)
    2.52 +  (modify-syntax-entry ?\< "(>" yahtml-syntax-table)
    2.53 +  (modify-syntax-entry ?\> ")<" yahtml-syntax-table)
    2.54    (modify-syntax-entry ?\n " " yahtml-syntax-table)
    2.55  )
    2.56  (defvar yahtml-command-regexp "[A-Za-z0-9]+"
    2.57 @@ -221,7 +223,8 @@
    2.58      ("DefinitionList" . "dl")
    2.59      ("Preformatted" . "pre")
    2.60      ("table") ("tr") ("th") ("td")
    2.61 -    ("h1") ("h2") ("h3") ("h4") ("h5") ("h6")))
    2.62 +    ("h1") ("h2") ("h3") ("h4") ("h5") ("h6")
    2.63 +    ("p")))
    2.64  
    2.65  (defvar yahtml-itemizing-regexp
    2.66    "\\(ul\\|ul\\|dl\\)"
    2.67 @@ -258,9 +261,14 @@
    2.68  
    2.69  (defvar yahtml-prefer-upcases nil)
    2.70  
    2.71 +;(defvar yahtml-struct-name-regexp
    2.72 +;  "\\<\\(h[1-6]\\|[uod]l\\|html\\|body\\|title\\|head\\|table\\|t[rhd]\\|pre\\|a\\|form\\|select\\|center\\|blockquote\\)\\b")
    2.73  (defvar yahtml-struct-name-regexp
    2.74 -  "\\<\\(h[1-6]\\|[uod]l\\|html\\|body\\|title\\|head\\|table\\|t[rhd]\\|pre\\|a\\|form\\|select\\)\\b")
    2.75 -
    2.76 +  (concat
    2.77 +   "\\<\\("
    2.78 +   (mapconcat (function (lambda (x) (car x))) yahtml-typeface-table "\\|")
    2.79 +   "\\)\\b")
    2.80 +  "Regexp of structure beginning.")
    2.81  
    2.82  (defun yahtml-mode ()
    2.83    (interactive)
    2.84 @@ -610,7 +618,7 @@
    2.85  	      "\"")))))
    2.86  
    2.87  (defvar yahtml-parameters-completion-alist
    2.88 -  '(("align" ("top") ("middle") ("bottom"))
    2.89 +  '(("align" ("top") ("middle") ("bottom") ("left") ("right") ("center"))
    2.90      ("src" . file)
    2.91      ("method" ("POST") ("GET"))))
    2.92  
    2.93 @@ -665,6 +673,12 @@
    2.94  (defun yahtml:dt ()
    2.95    (setq yahtml-last-single-cmd "dd") "")
    2.96  
    2.97 +(defun yahtml:p ()
    2.98 +  (let ((alg (yahtml-read-parameter "align")))
    2.99 +    (if (string< "" alg)
   2.100 +	(setq alg (concat "align=" alg)
   2.101 +	      alg (if yahtml-prefer-upcases (upcase alg) (downcase alg)))
   2.102 +      "")))
   2.103  
   2.104  (defvar yahtml-input-types
   2.105    '(("text") ("password") ("checkbox") ("radio") ("submit")
   2.106 @@ -736,6 +750,11 @@
   2.107      (insert (format "<%s%s>" tag (yahtml-addin tag)))
   2.108      (save-excursion (insert (format "</%s>" tag)))))
   2.109  
   2.110 +(defun yahtml-insert-tag-region (&optional tag)
   2.111 +  "Call yahtml-insert-tag with region mode."
   2.112 +  (interactive)
   2.113 +  (yahtml-insert-tag t tag))
   2.114 +
   2.115  (defun yahtml-insert-single (cmd)
   2.116    "Insert <CMD>."
   2.117    (interactive
   2.118 @@ -1158,7 +1177,7 @@
   2.119  (defun yahtml-fill-paragraph (arg)
   2.120    (interactive "P")
   2.121    (let*((case-fold-search t) (p (point))
   2.122 -	(e (or (yahtml-inner-environment-but "^a\\b" t) "html"))
   2.123 +	(e (or (yahtml-inner-environment-but "^\\(a\\|p\\)\\b" t) "html"))
   2.124  	(prep (string-match "^pre$" e))
   2.125  	(ps1 (if prep (default-value 'paragraph-start)
   2.126  	       paragraph-start))
   2.127 @@ -1195,12 +1214,13 @@
   2.128  ;;; 
   2.129  (defun yahtml-indent-line ()
   2.130    (interactive)
   2.131 -  (let ((envs "[uod]l\\|table\\|t[rhd]\\|select")
   2.132 -	(itms "<\\(dt\\|dd\\|li\\|t[rdh]\\|option\\)>")
   2.133 +  (let ((envs "[uod]l\\|table\\|t[rhd]\\|select\\|blockquote")
   2.134 +	(itms "<\\(dt\\|dd\\|li\\|t[rdh]\\|option\\)\\b")
   2.135  	inenv p col peol (case-fold-search t))
   2.136      (save-excursion
   2.137        (beginning-of-line)
   2.138 -      (setq inenv (or (yahtml-inner-environment-but "^a\\b" t) "html")
   2.139 +      (setq inenv (or (yahtml-inner-environment-but "^\\(a\\|p\\)\\b" t)
   2.140 +		      "html")
   2.141  	    col (get 'YaTeX-inner-environment 'indent)
   2.142  	    p (get 'YaTeX-inner-environment 'point)
   2.143  	    op))
   2.144 @@ -1224,7 +1244,9 @@
   2.145  		    (setq op (point))
   2.146  		    (goto-char p)
   2.147  		    (re-search-forward itms op t)
   2.148 -		    (goto-char (match-end 0))
   2.149 +		    ;(goto-char (match-end 0))
   2.150 +		    (skip-chars-forward "^>")
   2.151 +		    (skip-chars-forward ">")
   2.152  		    (skip-chars-forward " \t")
   2.153  		    (setq col (current-column)))))
   2.154  	    (YaTeX-reindent col))
     3.1 --- a/yatex.el	Fri Jan 24 09:04:06 1997 +0000
     3.2 +++ b/yatex.el	Mon Apr 07 20:07:48 1997 +0000
     3.3 @@ -1,8 +1,8 @@
     3.4  ;;; -*- Emacs-Lisp -*-
     3.5  ;;; Yet Another tex-mode for emacs.
     3.6 -;;; yatex.el rev. 1.63
     3.7 +;;; yatex.el rev. 1.64
     3.8  ;;; (c )1991-1997 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
     3.9 -;;; Last modified Fri Jan 24 17:57:14 1997 on supra
    3.10 +;;; Last modified Tue Apr  8 05:07:31 1997 on crx
    3.11  ;;; $Id$
    3.12  
    3.13  ;; This program is free software; you can redistribute it and/or modify
    3.14 @@ -20,7 +20,7 @@
    3.15  ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
    3.16  
    3.17  (require 'comment)
    3.18 -(defconst YaTeX-revision-number "1.63"
    3.19 +(defconst YaTeX-revision-number "1.64"
    3.20    "Revision number of running yatex.el"
    3.21  )
    3.22  
    3.23 @@ -478,6 +478,9 @@
    3.24    ;(suppress-keymap YaTeX-typesetting-mode-map t)
    3.25    (define-key YaTeX-typesetting-mode-map " " 'YaTeX-jump-error-line)
    3.26    (define-key YaTeX-typesetting-mode-map "\C-m" 'YaTeX-send-string)
    3.27 +  (define-key YaTeX-typesetting-mode-map "1" 'delete-other-windows)
    3.28 +  (define-key YaTeX-typesetting-mode-map "0" 'delete-window)
    3.29 +  (define-key YaTeX-typesetting-mode-map "q" 'delete-window)
    3.30  )
    3.31  
    3.32  (defvar YaTeX-section-completion-map nil
    3.33 @@ -725,6 +728,8 @@
    3.34  ;;autoload from yatexhie.el
    3.35  (autoload 'YaTeX-display-hierarchy "yatexhie"
    3.36    "YaTeX document hierarchy browser" t)
    3.37 +(autoload 'YaTeX-display-hierarchy-directly "yatexhie"
    3.38 +  "Same as YaTeX-display-hierarchy.  Call from mouse." t)
    3.39  
    3.40  ;; autoload from yahtml.el
    3.41  (autoload 'yahtml-inner-environment-but "yahtml" "yahtml internal func." t)
    3.42 @@ -1627,7 +1632,7 @@
    3.43    '(("\\\\epsfile{[^},]*file=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 1)
    3.44      ("\\\\epsfig{[^},]*fi\\(le\\|gure\\)=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2)
    3.45      ("\\\\postscriptbox{[^}]*}{[^}]*}{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 1)
    3.46 -    ("\\\\\\(epsfbox\\|includegraphics\\){\\(\\([^,} ]*/\\)?[^} ]+\\)\\(\\.e?ps\\)?}" 2)
    3.47 +    ("\\\\\\(epsfbox\\|includegraphics\\){\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 2)
    3.48      ("\\\\\\(psbox\\)\\(\\[[^]]+\\]\\)?{\\(\\([^,} ]*/\\)?[^} ]+\\)\\(\\.e?ps\\)}" 3) ;\psbox[options...]{hoge.eps} (97/1/11)
    3.49      )
    3.50    "See the documentation of YaTeX-processed-file-regexp-alist."
    3.51 @@ -1820,8 +1825,8 @@
    3.52    (cond
    3.53     ((YaTeX-goto-corresponding-label arg))
    3.54     ((YaTeX-goto-corresponding-environment))
    3.55 +   ((YaTeX-goto-corresponding-file-processor arg))
    3.56     ((YaTeX-goto-corresponding-file arg))
    3.57 -   ((YaTeX-goto-corresponding-file-processor arg))
    3.58     ((YaTeX-goto-corresponding-BEGIN-END))
    3.59     ((and (string-match
    3.60  	  YaTeX-equation-env-regexp	;to delay loading
    3.61 @@ -1962,7 +1967,7 @@
    3.62  		;;append `^%' to head of paragraph delimiter.
    3.63  		(paragraph-start
    3.64  		 (concat
    3.65 -		  "^$\\|^%\\(" YaTeX-paragraph-delimiter "\\)"))
    3.66 +		  "^$\\|^%\\(" YaTeX-paragraph-separate "\\)"))
    3.67  		(paragraph-separate paragraph-start))
    3.68  	    (mark-paragraph)
    3.69  	    (if (not (bobp)) (forward-line 1))
    3.70 @@ -2533,7 +2538,7 @@
    3.71  		      (progn (setq p (point)) (insert YaTeX-comment-prefix)))
    3.72  		  (forward-line 1))
    3.73  		(goto-char p)
    3.74 -		(delete-char 1)		;remove last inserted `%'
    3.75 +		(if (looking-at "%") (delete-char 1)) ;remove last inserted `%'
    3.76  		)))))))
    3.77  )
    3.78  
    3.79 @@ -2556,7 +2561,8 @@
    3.80  ;	 (string-match
    3.81  ;	  "^[Pp][Rr][Ee]" (yahtml-inner-environment-but "^[Aa]\\b" t)))
    3.82  ;    (yahtml-indent-new-commnet-line))
    3.83 -   ((YaTeX-in-math-mode-p) nil)		;1996/12/30
    3.84 +   ((and (eq major-mode 'yatex-mode)	;1997/2/4
    3.85 +	 (YaTeX-in-math-mode-p)) nil)		;1996/12/30
    3.86     (t (let (fill-prefix)
    3.87  	(apply 'YaTeX-saved-indent-new-comment-line (if soft (list soft))))))
    3.88  )
     4.1 --- a/yatex.new	Fri Jan 24 09:04:06 1997 +0000
     4.2 +++ b/yatex.new	Mon Apr 07 20:07:48 1997 +0000
     4.3 @@ -1,6 +1,13 @@
     4.4  	What's new in YaTeX
     4.5  	野鳥/yahtml - 各バージョンの変更点について
     4.6  
     4.7 +1.64	yahtmlを起動するとYaTeXで [prefix] Bc が<center>などになってしま
     4.8 +	うのを修正。
     4.9 +	NTT-jTeX が t のときにfillがうまく行かないことがあるのを修正。
    4.10 +	YaTeX-uncomment-paragraph を修正。
    4.11 +	yahtmlで文章中に$があるとauto-indentが効かなくなるのを修正。
    4.12 +	yatexで\end行でIntelligent newlineした時のバグを修正。
    4.13 +
    4.14  1.63	数式モードに入ったら漢字モードをOFFにするようにした(本来1.62)
    4.15  	yahtmlで [prefix] t j で(j)weblintを呼ぶようにした。
    4.16  	yahtmlのブラウザ起動は、[prefix] t p に変更。
     5.1 --- a/yatex19.el	Fri Jan 24 09:04:06 1997 +0000
     5.2 +++ b/yatex19.el	Mon Apr 07 20:07:48 1997 +0000
     5.3 @@ -1,7 +1,7 @@
     5.4  ;;; -*- Emacs-Lisp -*-
     5.5  ;;; YaTeX facilities for Emacs 19
     5.6  ;;; (c )1994-1997 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
     5.7 -;;; Last modified Fri Jan 24 18:00:49 1997 on supra
     5.8 +;;; Last modified Fri Feb 14 13:52:54 1997 on supra
     5.9  ;;; $Id$
    5.10  
    5.11  ;;; とりあえず hilit19 を使っている時に色が付くようにして
    5.12 @@ -297,6 +297,14 @@
    5.13      (YaTeX-19-region-section-type
    5.14       "\\\\caption\\(\\[[^]]*\\]\\)?{" label)
    5.15  
    5.16 +    ;; things that do some sort of cross-reference
    5.17 +    (YaTeX-19-region-section-type
    5.18 +     "\\\\\\(\\(no\\)?cite\\|\\(page\\)?ref\\|label\\|index\\|glossary\\){"
    5.19 +     crossref)
    5.20 +
    5.21 +    ;; things that bring in external files
    5.22 +    ("\\\\\\(include\\|input\\|bibliography\\){" "}" include)
    5.23 +
    5.24      ;; formulas
    5.25      ("[^\\]\\\\("  "\\\\)" formula)                   ; \( \)
    5.26      ("[^\\]\\\\\\[" "\\\\\\]" formula)                ; \[ \]
    5.27 @@ -305,21 +313,13 @@
    5.28       formula)
    5.29      ("[^\\$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula); '$...$' or '$$...$$'
    5.30  
    5.31 -    ;; things that bring in external files
    5.32 -    ("\\\\\\(include\\|input\\|bibliography\\){" "}" include)
    5.33 -
    5.34 -    ;; "wysiwyg" emphasis -- these don't work with nested expressions
    5.35 +    ;; "wysiwyg" emphasis -- these don't work on nested expressions
    5.36      (YaTeX-19-region-large-type "{\\\\\\(em\\|it\\|sl\\)"  italic)
    5.37      (YaTeX-19-region-large-type "{\\\\bf" bold)
    5.38      ;;;(YaTeX-19-region-large-type "{\\\\tt" tt)
    5.39      ;;;("\\\\begin{verbatim" "\\\\end{verbatim" tt)
    5.40  
    5.41 -    ("``" "''" string)
    5.42 -
    5.43 -    ;; things that do some sort of cross-reference
    5.44 -    (YaTeX-19-region-section-type
    5.45 -     "\\\\\\(\\(no\\)?cite\\|\\(page\\)?ref\\|label\\|index\\|glossary\\){"
    5.46 -     crossref))
    5.47 +    ("``" "''" string))
    5.48  "*Hiliting pattern alist for LaTeX text.")
    5.49  
    5.50  ;;(defvar YaTeX-hilit-pattern-adjustment-default nil)
     6.1 --- a/yatexenv.el	Fri Jan 24 09:04:06 1997 +0000
     6.2 +++ b/yatexenv.el	Mon Apr 07 20:07:48 1997 +0000
     6.3 @@ -2,7 +2,7 @@
     6.4  ;;; YaTeX environment-specific functions.
     6.5  ;;; yatexenv.el
     6.6  ;;; (c ) 1994-1997 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
     6.7 -;;; Last modified Fri Jan 24 18:00:38 1997 on supra
     6.8 +;;; Last modified Mon Apr  7 15:19:05 1997 on crx
     6.9  ;;; $Id$
    6.10  
    6.11  ;;;
    6.12 @@ -199,8 +199,9 @@
    6.13  `\\> \\> \\'	for tabbing environemnt,
    6.14  `& & \\ \hline'	for tabular environment."
    6.15    (interactive "P")
    6.16 -  (let*((env (YaTeX-inner-environment))
    6.17 -	func)
    6.18 +  (let*(env func)
    6.19 +    (end-of-line)
    6.20 +    (setq env (YaTeX-inner-environment))
    6.21      (if arg (setq env (YaTeX-read-environment "For what environment? ")))
    6.22      (setq func (intern-soft (concat "YaTeX-intelligent-newline-" env)))
    6.23      (end-of-line)
     7.1 --- a/yatexhks.el	Fri Jan 24 09:04:06 1997 +0000
     7.2 +++ b/yatexhks.el	Mon Apr 07 20:07:48 1997 +0000
     7.3 @@ -10,6 +10,9 @@
     7.4  
     7.5  ;Private definitions begin from here.
     7.6  
     7.7 +;;97/1/27
     7.8 +(define-key YaTeX-user-extensional-map "v" 'YaTeX-section-overview)
     7.9 +;;initial version
    7.10  (define-key YaTeX-user-extensional-map "0"
    7.11    '(lambda () (interactive) (YaTeX-make-section nil nil nil "part")))
    7.12  (define-key YaTeX-user-extensional-map "1"
     8.1 --- a/yatexprc.el	Fri Jan 24 09:04:06 1997 +0000
     8.2 +++ b/yatexprc.el	Mon Apr 07 20:07:48 1997 +0000
     8.3 @@ -2,7 +2,7 @@
     8.4  ;;; YaTeX process handler.
     8.5  ;;; yatexprc.el
     8.6  ;;; (c )1993-1997 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
     8.7 -;;; Last modified Fri Jan 24 17:59:44 1997 on supra
     8.8 +;;; Last modified Mon Jan 27 10:22:06 1997 on crx
     8.9  ;;; $Id$
    8.10  
    8.11  (require 'yatex)
    8.12 @@ -390,7 +390,7 @@
    8.13  	(send-string-to-terminal "\e[2J\e[>5h") ;CLS & hide cursor
    8.14  	(call-process shell-file-name "con" "*dvi-preview*" nil
    8.15  		      YaTeX-shell-command-option
    8.16 -		      (concat preview-command preview-file))
    8.17 +		      (concat preview-command " " preview-file))
    8.18  	(send-string-to-terminal "\e[>5l") ;show cursor
    8.19  	(redraw-display))
    8.20         (t				;if UNIX
     9.1 --- a/yatexsec.el	Fri Jan 24 09:04:06 1997 +0000
     9.2 +++ b/yatexsec.el	Mon Apr 07 20:07:48 1997 +0000
     9.3 @@ -2,7 +2,7 @@
     9.4  ;;; YaTeX sectioning browser.
     9.5  ;;; yatexsec.el
     9.6  ;;; (c ) 1994 by HIROSE Yuuji [yuuji@ae.keio.ac.jp]
     9.7 -;;; Last modified Thu Jan 11 01:07:53 1996 on VFR
     9.8 +;;; Last modified Mon Feb 17 11:26:44 1997 on supra
     9.9  ;;; $Id$
    9.10  
    9.11  (defvar YaTeX-sectioning-level
    9.12 @@ -86,6 +86,7 @@
    9.13    (define-key YaTeX-sectioning-buffer-map "o"  'other-window)
    9.14    (define-key YaTeX-sectioning-buffer-map "-"  'shrink-window)
    9.15    (define-key YaTeX-sectioning-buffer-map "+"  'enlarge-window)
    9.16 +  (define-key YaTeX-sectioning-buffer-map "q"  'delete-window)
    9.17    (define-key YaTeX-sectioning-buffer-map "\C-_" 'YaTeX-shift-section-undo)
    9.18    (and YaTeX-emacs-19 (boundp 'window-system) (eq window-system 'x)
    9.19         (define-key YaTeX-sectioning-buffer-map [?\C-/]