[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex a76afdf 49/78: Add abstract env only to classes
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex a76afdf 49/78: Add abstract env only to classes defining it. |
Date: |
Mon, 19 Oct 2015 09:10:58 +0000 |
branch: externals/auctex
commit a76afdf6fec49e2a81d5513aacc1700acb05c33a
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Add abstract env only to classes defining it.
* latex.el (LaTeX-common-initialization): Remove "abstract"
environment, it is not defined in latex.ltx.
* style/amsart.el ("amsart"): Add "abstract" environment.
* style/amsbook.el ("amsbook"): Ditto.
* style/article.el ("article"): Ditto.
* style/memoir.el ("memoir"): Ditto.
* style/report.el ("report"): Ditto.
* style/scrartcl.el ("scrartcl"): Ditto.
* style/scrreprt.el ("scrreprt"): Ditto.
---
ChangeLog | 19 +++++++++++++++++++
latex.el | 2 +-
style/amsart.el | 3 ++-
style/amsbook.el | 3 ++-
style/article.el | 3 ++-
style/memoir.el | 2 ++
style/report.el | 5 +++--
style/scrartcl.el | 3 ++-
style/scrreprt.el | 1 +
9 files changed, 34 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a585737..3fd1716 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2015-09-25 Mos� Giordano <address@hidden>
+
+ * latex.el (LaTeX-common-initialization): Remove "abstract"
+ environment, it is not defined in latex.ltx.
+
+ * style/amsart.el ("amsart"): Add "abstract" environment.
+
+ * style/amsbook.el ("amsbook"): Ditto.
+
+ * style/article.el ("article"): Ditto.
+
+ * style/memoir.el ("memoir"): Ditto.
+
+ * style/report.el ("report"): Ditto.
+
+ * style/scrartcl.el ("scrartcl"): Ditto.
+
+ * style/scrreprt.el ("scrreprt"): Ditto.
+
2015-09-24 Mos� Giordano <address@hidden>
* tex.el (TeX-doc): Use default argument of `completing-read'.
diff --git a/latex.el b/latex.el
index 2aa2d94..0db24fd 100644
--- a/latex.el
+++ b/latex.el
@@ -5971,7 +5971,7 @@ i.e. you do _not_ have to cater for this yourself by
adding \\\\' or $."
"sloppypar" "picture" "tabbing" "verbatim" "verbatim*"
"flushright" "flushleft" "displaymath" "math" "quote" "quotation"
- "abstract" "center" "titlepage" "verse" "eqnarray*"
+ "center" "titlepage" "verse" "eqnarray*"
;; The following are not defined in latex.el, but in a number of
;; other style files. I'm to lazy to copy them to all the
diff --git a/style/amsart.el b/style/amsart.el
index 8e3ae5c..26a054c 100644
--- a/style/amsart.el
+++ b/style/amsart.el
@@ -5,7 +5,8 @@
(TeX-add-style-hook "amsart"
(function
(lambda ()
- (TeX-run-style-hooks "amsmath" "amsthm")))
+ (TeX-run-style-hooks "amsmath" "amsthm")
+ (LaTeX-add-environments "abstract")))
LaTeX-dialect)
;;; amsart.el ends here.
diff --git a/style/amsbook.el b/style/amsbook.el
index 192b807..0bdbe3a 100644
--- a/style/amsbook.el
+++ b/style/amsbook.el
@@ -5,7 +5,8 @@
(TeX-add-style-hook "amsbook"
(function
(lambda ()
- (TeX-run-style-hooks "amsmath" "amsthm")))
+ (TeX-run-style-hooks "amsmath" "amsthm")
+ (LaTeX-add-environments "abstract")))
LaTeX-dialect)
;;; amsbook.el ends here.
diff --git a/style/article.el b/style/article.el
index d4842f1..4bfd881 100644
--- a/style/article.el
+++ b/style/article.el
@@ -14,7 +14,8 @@
(LaTeX-largest-level-set "section")
(LaTeX-add-counters "part" "section" "subsection" "subsubsection"
"paragraph"
"subparagraph" "figure" "table")
- (LaTeX-add-pagestyles "headings" "myheadings"))
+ (LaTeX-add-pagestyles "headings" "myheadings")
+ (LaTeX-add-environments "abstract"))
LaTeX-dialect)
;;; article.el ends here
diff --git a/style/memoir.el b/style/memoir.el
index 68b74dc..563adbe 100644
--- a/style/memoir.el
+++ b/style/memoir.el
@@ -65,6 +65,8 @@
"leadpagetoclevel")
+ (LaTeX-add-environments "abstract")
+
;; Emulated packages. The `memoir' class contains a list of files
;; emulated at the end of the class-file
(TeX-run-style-hooks
diff --git a/style/report.el b/style/report.el
index 6a4e638..7fa96b2 100644
--- a/style/report.el
+++ b/style/report.el
@@ -11,11 +11,12 @@
(TeX-add-style-hook
"report"
- (lambda ()
+ (lambda ()
(LaTeX-largest-level-set "chapter")
(LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
"paragraph" "subparagraph" "figure" "table")
- (LaTeX-add-pagestyles "headings" "myheadings"))
+ (LaTeX-add-pagestyles "headings" "myheadings")
+ (LaTeX-add-environments "abstract"))
LaTeX-dialect)
;;; report.el ends here
diff --git a/style/scrartcl.el b/style/scrartcl.el
index 74b83d5..101ce1c 100644
--- a/style/scrartcl.el
+++ b/style/scrartcl.el
@@ -20,7 +20,8 @@
(lambda ()
(LaTeX-largest-level-set "section")
;; load basic definitons
- (TeX-run-style-hooks "scrbase"))
+ (TeX-run-style-hooks "scrbase")
+ (LaTeX-add-environments "abstract"))
LaTeX-dialect)
;;; scrartcl.el ends here
diff --git a/style/scrreprt.el b/style/scrreprt.el
index 57ec0af..636b14e 100644
--- a/style/scrreprt.el
+++ b/style/scrreprt.el
@@ -43,6 +43,7 @@
'("setpartpreamble" [ TeX-arg-KOMA-setpreamble ] [ "Width" ] t)
'("setchapterpreamble" [ TeX-arg-KOMA-setpreamble ] [ "Width" ] t)
'("dictum" [ "Author" ] t))
+ (LaTeX-add-environments "abstract")
(LaTeX-section-list-add-locally '("addchap" 1))
(make-local-variable 'LaTeX-section-label)
(setq LaTeX-section-label (append
- [elpa] externals/auctex 48093fa 58/78: Use LaTeX-add-lengths for LaTeX-lengths., (continued)
- [elpa] externals/auctex 48093fa 58/78: Use LaTeX-add-lengths for LaTeX-lengths., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 2da69ab 11/78: Add fontification for `\newcolumntype'., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex f4c5af9 37/78: Fix loading of polyglossia language style files., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 8359f08 39/78: Fix in Italian language polyglossia style file., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 0377238 31/78: Add TeX-compile-run-all to AUCTeX reference card., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 5dd4f21 35/78: Style file for polyglossia package., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 4810753 41/78: Add new style Alegreya.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 2b648fe 38/78: Remove one TODO in style/polyglossia.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 22c7d9f 27/78: Implement "run-all" for regions and sections, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 6b3cbea 32/78: Suggest to run Index when appropriate., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex a76afdf 49/78: Add abstract env only to classes defining it.,
Tassilo Horn <=
- [elpa] externals/auctex a864241 55/78: Fixup space-before-tab git warned about., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 9b5827c 44/78: Fix typo in error message., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 3bb1cbe 56/78: Add font-latex specific prettify-symbols-compose-predicate, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 8a2bd0b 68/78: Fix previous commit., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex e85968c 66/78: Support caption.el and some other fixes., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex cac89e9 63/78: Start supporting ConTeXt Mark IV., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex ac8d479 69/78: Support newfloat.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 320de59 53/78: Apply some fixes to caption.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex ce8981a 64/78: Fontify math environment, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 0c4e740 62/78: Fix typo in comment., Tassilo Horn, 2015/10/19