yatex

diff yatex.el @ 572:714f3527b4a1

Add add-in for tabularx environment
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 25 May 2019 14:48:03 +0900
parents 26d14d8bc834
children 777d17c07759
line diff
     1.1 --- a/yatex.el	Tue Apr 30 23:45:10 2019 +0900
     1.2 +++ b/yatex.el	Sat May 25 14:48:03 2019 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
     1.5  ;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org]
     1.6 -;;; Last modified Tue Apr 30 23:43:59 2019 on firestorm
     1.7 +;;; Last modified Sat May 25 14:46:49 2019 on firestorm
     1.8  ;;; $Id$
     1.9  ;;; The latest version of this software is always available at;
    1.10  ;;; https://www.yatex.org/
    1.11 @@ -16,7 +16,7 @@
    1.12  
    1.13  ;;; Code:
    1.14  (require 'yatexlib)
    1.15 -(defconst YaTeX-revision-number "1.81.3"
    1.16 +(defconst YaTeX-revision-number "1.81.4"
    1.17    "Revision number of running yatex.el")
    1.18  
    1.19  ;---------- Local variables ----------
    1.20 @@ -204,7 +204,7 @@
    1.21    "*Regexp of verb family.  Do not contain preceding \\\\ nor \\(\\).")
    1.22  (defvar YaTeX-fill-inhibit-environments
    1.23    (append '("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*"
    1.24 -	    "longtable"
    1.25 +	    "longtable" "tabularx"
    1.26  	    "equation" "equation*" "math" "displaymath")
    1.27  	  YaTeX-verbatim-environments)
    1.28    "*In these environments, YaTeX inhibits fill-paragraph from formatting.
    1.29 @@ -218,7 +218,7 @@
    1.30    "*Regexp of environments for equations")
    1.31  (defvar YaTeX-array-env-regexp
    1.32    (concat
    1.33 -   "array\\*?\\|eqnarray\\*?\\|tabbing\\|tabular\\*?\\|"	;LaTeX
    1.34 +   "array\\*?\\|eqnarray\\*?\\|tabbing\\|tabularx?\\*?\\|"	;LaTeX
    1.35     "longtable\\|"						;LaTeX2e
    1.36     "matrix\\|pmatrix\\|bmatrix\\|vmatrix\\|Vmatrix\\|"		;AMS-LaTeX
    1.37     "align\\*?\\|split\\*?\\|aligned\\*?\\|alignat\\*?\\|"	;AMS-LaTeX
    1.38 @@ -402,6 +402,7 @@
    1.39       ("minipage") ("landscape")
    1.40       ("supertabular") ("floatingfigure") ("wrapfigure") ("wraptable")
    1.41       ("frame") ("block") ("example") ("columns") ("column")	;beamer
    1.42 +     ("tabularx")
    1.43       )
    1.44     (if YaTeX-use-LaTeX2e
    1.45         '(("comment")			;defined in version