"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "style/empheq.el" between
auctex-12.2.tar.gz and auctex-12.3.tar.gz

About: AUCTEX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs.

empheq.el  (auctex-12.2):empheq.el  (auctex-12.3)
;;; empheq.el --- AUCTeX style for `empheq.sty' (v2.14) ;;; empheq.el --- AUCTeX style for `empheq.sty' (v2.14)
;; Copyright (C) 2016-2018 Free Software Foundation, Inc. ;; Copyright (C) 2016-2020 Free Software Foundation, Inc.
;; Author: Arash Esbati <arash@gnu.org> ;; Author: Arash Esbati <arash@gnu.org>
;; Maintainer: auctex-devel@gnu.org ;; Maintainer: auctex-devel@gnu.org
;; Created: 2016-08-07 ;; Created: 2016-08-07
;; Keywords: tex ;; Keywords: tex
;; This file is part of AUCTeX. ;; This file is part of AUCTeX.
;; AUCTeX is free software; you can redistribute it and/or modify it ;; AUCTeX is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by ;; under the terms of the GNU General Public License as published by
skipping to change at line 49 skipping to change at line 49
;; Silence the compiler: ;; Silence the compiler:
(declare-function font-latex-add-keywords (declare-function font-latex-add-keywords
"font-latex" "font-latex"
(keywords class)) (keywords class))
(declare-function LaTeX-item-equation-alignat (declare-function LaTeX-item-equation-alignat
"amsmath" (&optional suppress)) "amsmath" (&optional suppress))
(defvar LaTeX-mathtools-package-options) (defvar LaTeX-mathtools-package-options)
(defvar font-latex-math-environments)
(defvar LaTeX-empheq-key-val-options (defvar LaTeX-empheq-key-val-options
`(("box") `(("box")
("innerbox") ("innerbox")
("left" ,(mapcar ("left" ,(mapcar
(lambda (x) (lambda (x)
(concat TeX-esc x)) (concat TeX-esc x))
'("empheqlbrace" '("empheqlbrace"
"empheqlbrack" "empheqlbrack"
"empheqlangle" "empheqlangle"
skipping to change at line 492 skipping to change at line 491
;; 6.1 New empheq-like environments ;; 6.1 New empheq-like environments
'("EmphEqMainEnv" 0) '("EmphEqMainEnv" 0)
'("endEmphEqMainEnv" 0)) '("endEmphEqMainEnv" 0))
;; Fontification ;; Fontification
(when (and (featurep 'font-latex) (when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup)) (eq TeX-install-font-lock 'font-latex-setup))
(font-latex-add-keywords '(("empheqset" "{") (font-latex-add-keywords '(("empheqset" "{")
("DeclareLeftDelimiter" "[{") ("DeclareLeftDelimiter" "[{")
("DeclareRightDelimiter" "[{")) ("DeclareRightDelimiter" "[{"))
'function) 'function)))
;; Append our addition so that we don't interfere with user customizations
(make-local-variable 'font-latex-math-environments)
(add-to-list 'font-latex-math-environments "empheq" t)
(when (or (LaTeX-provided-package-options-member "empheq" "overload")
(LaTeX-provided-package-options-member "empheq" "overload2"))
(let ((envs '(;; Do not insert the starred versions here;
;; function `font-latex-match-math-envII' takes
;; care of it
"AmSalign"
"AmSalignat"
"AmSequation"
"AmSflalign"
"AmSgather"
"AmSmultline")))
(dolist (env envs)
(add-to-list 'font-latex-math-environments env t))))))
LaTeX-dialect) LaTeX-dialect)
;;; empheq.el ends here ;;; empheq.el ends here
 End of changes. 3 change blocks. 
19 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)