# HG changeset patch # User HIROSE Yuuji # Date 1384951671 -32400 # Node ID 326bd21ad9957c2a12e220b6b5a49dd399414d3e # Parent 9cfc505ba6aa88303a5116786b4da0f4ad07bbf3 Add 'longtable to array like environment diff -r 9cfc505ba6aa -r 326bd21ad995 yatex.el --- a/yatex.el Wed Nov 20 14:15:42 2013 +0900 +++ b/yatex.el Wed Nov 20 21:47:51 2013 +0900 @@ -1,6 +1,6 @@ ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- ;;; (c)1991-2013 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Apr 1 22:40:25 2013 on firestorm +;;; Last modified Wed Nov 20 21:43:25 2013 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ @@ -156,6 +156,7 @@ "*Regexp of verb family. Do not contain preceding \\\\ nor \\(\\).") (defvar YaTeX-fill-inhibit-environments (append '("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" + "longtable" "equation" "equation*" "math" "displaymath") YaTeX-verbatim-environments) "*In these environments, YaTeX inhibits fill-paragraph from formatting. @@ -170,6 +171,7 @@ (defvar YaTeX-array-env-regexp (concat "array\\*?\\|eqnarray\\*?\\|tabbing\\|tabular\\*?\\|" ;LaTeX + "longtable\\|" ;LaTeX2e "matrix\\|pmatrix\\|bmatrix\\|vmatrix\\|Vmatrix\\|" ;AMS-LaTeX "align\\*?\\|split\\*?\\|aligned\\*?\\|alignat\\*?\\|" ;AMS-LaTeX "[bpvV]?matrix\\|smallmatrix\\|cases\\|" ;AMS-LaTeX