diff yatexprc.el @ 57:18f4939986e6

(j)LaTeX2e supported yatex19.el fixed a lot
author yuuji
date Sat, 02 Dec 1995 18:35:28 +0000
parents 5f4b18da14b3
children 3a7c0c2bf16d
line wrap: on
line diff
--- a/yatexprc.el	Thu Jun 29 13:46:57 1995 +0000
+++ b/yatexprc.el	Sat Dec 02 18:35:28 1995 +0000
@@ -2,7 +2,7 @@
 ;;; YaTeX process handler.
 ;;; yatexprc.el
 ;;; (c )1993-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp]
-;;; Last modified Sat Jan 28 01:01:44 1995 on VFR
+;;; Last modified Thu Nov  2 19:35:16 1995 on inspire
 ;;; $Id$
 
 (require 'yatex)
@@ -668,7 +668,8 @@
     (string-match (YaTeX-guess-parent (YaTeX-get-builtin "!")) (buffer-name)))
    (t
     (save-excursion
-      (let ((latex-main-id (concat "^\\s *" YaTeX-ec-regexp "documentstyle")))
+      (let ((latex-main-id
+	     (concat "^\\s *" YaTeX-ec-regexp "document\\(style\\|class\\)")))
 	(or (re-search-backward latex-main-id nil t)
 	    (re-search-forward latex-main-id nil t))))))
 )

yatex.org