[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 71/299: * style/amsopn.el: Add GPL copyright notice. ("amsopn"):
From: |
Stefan Monnier |
Subject: |
[elpa] 71/299: * style/amsopn.el: Add GPL copyright notice. ("amsopn"): Add regex for \DeclareMathOperator to `LaTeX-auto-regexp-list'. Use `TeX-arg-define-macro' for \DeclareMathOperator. |
Date: |
Sun, 02 Nov 2014 03:10:23 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 48027591e1ef9911f832ef393d0a4b3d54754ba6
Author: Tassilo Horn <address@hidden>
Date: Wed Mar 6 12:38:32 2013 +0000
* style/amsopn.el: Add GPL copyright notice.
("amsopn"): Add regex for \DeclareMathOperator to
`LaTeX-auto-regexp-list'. Use `TeX-arg-define-macro' for
\DeclareMathOperator.
---
ChangeLog | 7 +++++++
style/amsopn.el | 44 ++++++++++++++++++++++++++++++++++++++------
2 files changed, 45 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 76b60dc..e9be8ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2013-03-06 Mads Jensen <address@hidden>
+ * style/amsopn.el: Add GPL copyright notice.
+ ("amsopn"): Add regex for \DeclareMathOperator to
+ `LaTeX-auto-regexp-list'. Use `TeX-arg-define-macro' for
+ \DeclareMathOperator.
+
+2013-03-06 Mads Jensen <address@hidden>
+
* tex.el (TeX-command-list): Add support for xindy.
2013-03-06 Mads Jensen <address@hidden>
diff --git a/style/amsopn.el b/style/amsopn.el
index 1e875d8..8843759 100644
--- a/style/amsopn.el
+++ b/style/amsopn.el
@@ -1,6 +1,32 @@
-;;; amsopn.el --- Style hook for the AMS-LaTeX amsopn package.
-;;;
-;;; AUTHOR: Carsten Dominik <address@hidden>
+;;; amsnopn.el --- AUCTeX style for the `amsnopn.sty' AMS-LaTeX package
+
+;; Copyright (C) 1997, 2002, 2005, 2013 Free Software Foundation, Inc.
+
+;; Author: Carsten Dominik <address@hidden>
+;; Mads Jensen <address@hidden>
+;; Maintainer: address@hidden
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `amsnopn.sty'
;;; Code:
@@ -8,10 +34,16 @@
(function
(lambda ()
(TeX-add-symbols
- '("DeclareMathOperator" "Operator (with \\)" "Text")
- '("DeclareMathOperator*" "Operator (with \\)" "Text")
+ '("DeclareMathOperator" (TeX-arg-define-macro "Math Operator: \\")
+ "Expansion text for the math operator")
+ '("DeclareMathOperator*" (TeX-arg-define-macro "Math Operator: \\")
+ "Expansion text for the math operator")
'("operatorname" t)
- '("operatorname*" t)))))
+ '("operatorname*" t))
+
+ (add-to-list 'LaTeX-auto-regexp-list
+ '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?"
+ 1 TeX-auto-symbol)))))
(defvar LaTeX-amsopn-package-options '("namelimits" "nonamelimits")
"Package options for the amsopn package.")
- [elpa] 64/299: * latex.el (LaTeX-paragraph-commands-internal): Add \clearpage and \newpage., (continued)
- [elpa] 64/299: * latex.el (LaTeX-paragraph-commands-internal): Add \clearpage and \newpage., Stefan Monnier, 2014/11/01
- [elpa] 65/299: * tex.el (TeX-parse-macro): Add TeX group characters also in math environments if there is an active region that should probably used as argument., Stefan Monnier, 2014/11/01
- [elpa] 67/299: * tex.el (TeX-run-style-hooks): Guard running style hooks in a `condition-case' in order not to error in cases the auto file contains calls to functions that are defined by a style that has been deactivated in the meantime., Stefan Monnier, 2014/11/01
- [elpa] 59/299: * tex.el (require): Require crm., Stefan Monnier, 2014/11/01
- [elpa] 68/299: * latex.el (TeX-arg-date): New function. (LaTeX-common-initialization): Use `TeX-arg-date' for \date macro., Stefan Monnier, 2014/11/01
- [elpa] 57/299: * style/siunitx.el (LaTeX-siunitx-package-options): New function., Stefan Monnier, 2014/11/01
- [elpa] 70/299: * tex.el (TeX-command-list): Add support for xindy., Stefan Monnier, 2014/11/01
- [elpa] 69/299: * latex.el (LaTeX-common-initialization): Added regular expression for thispagestyle and pagestyle to `TeX-complete-list'., Stefan Monnier, 2014/11/01
- [elpa] 66/299: * style/dinbrief.el ("dinbrief"): Update dinbrief style. (LaTeX-dinbrief-insert): New macro. (LaTeX-dinbrief-style): New function. (LaTeX-dinbrief-env-recipient): Rename from `LaTeX-recipient-hook'. (LaTeX-dinbrief-sender): New function. (LaTeX-dinbrief-recipient): New function. (LaTeX-dinbrief-today): Rename from `LaTeX-today'., Stefan Monnier, 2014/11/01
- [elpa] 62/299: * style/kpfonts.el: New style file., Stefan Monnier, 2014/11/01
- [elpa] 71/299: * style/amsopn.el: Add GPL copyright notice. ("amsopn"): Add regex for \DeclareMathOperator to `LaTeX-auto-regexp-list'. Use `TeX-arg-define-macro' for \DeclareMathOperator.,
Stefan Monnier <=
- [elpa] 73/299: * tex.el (TeX-add-local-master): Remove trailing spaces from inserted lines., Stefan Monnier, 2014/11/01
- [elpa] 72/299: * latex.el (TeX-read-key-val): New function. (TeX-arg-key-val): Use `TeX-read-key-val'., Stefan Monnier, 2014/11/01
- [elpa] 76/299: * style/biblatex.el (LaTeX-biblatex-package-options): Correct name of `TeX-read-key-val' argument., Stefan Monnier, 2014/11/01
- [elpa] 75/299: * latex.el (LaTeX-common-initialization): Remove `addbibresource' macro., Stefan Monnier, 2014/11/01
- [elpa] 74/299: * style/biblatex.el (LaTeX-biblatex-addbibresource-options): New variable. (LaTeX-arg-addbibresource): New function, based on current `TeX-arg-bibliography'. ("biblatex"): Add `addbibresource' macro. (LaTeX-biblatex-package-options): Use `TeX-read-key-val'. * latex.el (TeX-arg-bibliography): Remove `addbibresource' support., Stefan Monnier, 2014/11/01
- [elpa] 77/299: * latex.el (TeX-arg-document): Search for LaTeX classes., Stefan Monnier, 2014/11/01
- [elpa] 80/299: Fix for conversion to git., Stefan Monnier, 2014/11/01
- [elpa] 79/299: Minor fix for the latest commit., Stefan Monnier, 2014/11/01
- [elpa] 81/299: Add .gitignore file., Stefan Monnier, 2014/11/01
- [elpa] 85/299: Minor docfix., Stefan Monnier, 2014/11/01