[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 28/299: * Makefile.in (STYLESRC): Enable memoir.el style. * style
From: |
Stefan Monnier |
Subject: |
[elpa] 28/299: * Makefile.in (STYLESRC): Enable memoir.el style. * style/memoir.el: New style. |
Date: |
Sun, 02 Nov 2014 03:10:00 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 014a6e803428a42fa80a8783b808f50d1384b4a0
Author: Tassilo Horn <address@hidden>
Date: Mon Jan 14 19:21:55 2013 +0000
* Makefile.in (STYLESRC): Enable memoir.el style.
* style/memoir.el: New style.
---
ChangeLog | 8 +++++
Makefile.in | 3 +-
style/memoir.el | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 92 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index aea739e..147b6ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-01-14 Tassilo Horn <address@hidden>
+
+ * Makefile.in (STYLESRC): Enable memoir.el style.
+
+2013-01-14 Mads Jensen <address@hidden>
+
+ * style/memoir.el: New style.
+
2013-01-14 Mos� Giordano <address@hidden>
* latex.el (TeX-arg-environment): Fix typo.
diff --git a/Makefile.in b/Makefile.in
index 874058a..ad4edf9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -127,7 +127,8 @@ STYLESRC = style/prosper.el \
style/mathtools.el style/ragged2e.el style/amssymb.el \
style/lscape.el style/epigraph.el style/mflogo.el \
style/multirow.el style/imakeidx.el style/afterpage.el \
- style/longtable.el style/lipsum.el style/kantlipsum.el
+ style/longtable.el style/lipsum.el style/kantlipsum.el \
+ style/memoir.el
STYLEELC = $(STYLESRC:.el=.elc)
CLEANFILES = $(AUCELC) $(STYLEELC) $(MULEELC)
diff --git a/style/memoir.el b/style/memoir.el
new file mode 100644
index 0000000..fa4c593
--- /dev/null
+++ b/style/memoir.el
@@ -0,0 +1,82 @@
+;;; memoir.el --- AUCTeX style for `memoir.cls'
+
+;; Copyright (C) 2012 Free Software Foundation, Inc.
+
+;; Author: Mads Jensen <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2012-12-28
+;; 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 `memoir.cls'. Memoir is a very extensive
+;; document class that lets you configure things very easily; `memoir'
+;; loads (emulates) a lot of classes.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "memoir"
+ (lambda ()
+ (TeX-add-symbols
+ ;; 6.4 Book and part headings
+ "beforebookskip" "afterbookskip"
+ "beforepartskip" "afterpartskip"
+
+ "printbookname" "booknamefont"
+ "booknamenum"
+ "printbooknum" "booknumfont"
+ "printpartname" "partnamefont"
+ "partnamenum"
+ "printpartnum" "partnumfont"
+
+ '("printbooktitle" "Title")
+ "booktitlefont"
+ '("printparttitle" "Title")
+ "parttitlefont"
+
+ '("bookpagemark" "Title")
+ '("partmark" "Title")
+
+ "bookpageend" "bookblankpage" "nobookblankpage"
+ "partpageend" "partblankpage" "nopartblankpage"
+
+ '("newleadpage" [ TeX-arg-pagestyle ] 1 "Title")
+ '("newleadpage*" [ TeX-arg-pagestyle ] 1 "Title")
+ '("renewleadpage*" [ TeX-arg-pagestyle ] 1 "Title")
+ '("renewleadpage*" [ TeX-arg-pagestyle ] 1 "Title")
+
+ "leadpagetoclevel")
+
+ ;; Emulated packages. The `memoir' class contains a list of files
+ ;; emulated at the end of the class-file
+ (TeX-run-style-hooks
+ "abstract" "appendix" "array" "booktabs" "ccaption"
+ "changepage" "chngcntr" "chngpage" "crop" "dcolumn"
+ "delarray" "enumerate" "epigraph" "ifmtarg" "ifetex"
+ "ifluatex" "ifpdf" "ifxetex" "index" "makeidx" "moreverb"
+ "mparhack" "needspace" "newfile" "nextpage" "pagenote"
+ "parskip" "patchcmd" "setspace" "shortvrb" "showidx"
+ "tabularx" "titleref" "titling" "tocbibind" "tocloft"
+ "verbatim" "verse")
+
+ (LaTeX-largest-level-set "chapter")))
+
+;;; memoir.el ends here
- [elpa] 20/299: * style/mathtools.el ("mathtools"): Append amsmath options to mathtools option after the amsmath style file has been loaded. Remove `function' wrapper., (continued)
- [elpa] 20/299: * style/mathtools.el ("mathtools"): Append amsmath options to mathtools option after the amsmath style file has been loaded. Remove `function' wrapper., Stefan Monnier, 2014/11/01
- [elpa] 12/299: * style/siunitx.el (LaTeX-siunitx-package-options): New variable. ("siunitx"): Use it. * style/hyperref.el (LaTeX-hyperref-href-options): New variable. (LaTeX-hyperref-package-options, "hyperref"): Use it., Stefan Monnier, 2014/11/01
- [elpa] 04/299: * style/bm.el: New style by Mosè Giordano <address@hidden>. * style/siunitx.el: Ditto., Stefan Monnier, 2014/11/01
- [elpa] 03/299: * tex-bar.el (TeX-bar-LaTeX-buttons, TeX-bar-LaTeX-button-alist): Also add spell button., Stefan Monnier, 2014/11/01
- [elpa] 27/299: * latex.el (TeX-arg-environment): Fix typo., Stefan Monnier, 2014/11/01
- [elpa] 25/299: * tex.el (TeX-command-list): Add command to run ChkTeX., Stefan Monnier, 2014/11/01
- [elpa] 23/299: * latex.el (LaTeX-env-document): Only insert \documentclass in case the document does not already contain one., Stefan Monnier, 2014/11/01
- [elpa] 26/299: * latex.el: Update copyright range. (LaTeX-auto-pagestyle-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-pagestyle-regexp-list'. ("pagestyle"): New type for the parser. (LaTeX-pagestyle-list): Remove. (TeX-arg-pagestyle): Use `LaTeX-pagestyle-list' function for completing. (LaTeX-common-initialization): Initialize pagestyles. * style/imakeidx.el: Use `LaTeX-pagestyle-list' function to set `firstpagestyle' option values., Stefan Monnier, 2014/11/01
- [elpa] 24/299: * Makefile.in (STYLESRC): Add new style files kantlipsum.el, lipsum.el, and longtable.el. * style/kantlipsum.el: New style. * style/lipsum.el: Ditto. * style/longtable.el: Ditto, Stefan Monnier, 2014/11/01
- [elpa] 29/299: * style/pstricks.el (LaTeX-pstricks-package-options): New variable., Stefan Monnier, 2014/11/01
- [elpa] 28/299: * Makefile.in (STYLESRC): Enable memoir.el style. * style/memoir.el: New style.,
Stefan Monnier <=
- [elpa] 32/299: * style/ulem.el (LaTeX-arg-fontdecl, LaTeX-arg-fontcmd): Fix declarations., Stefan Monnier, 2014/11/01
- [elpa] 34/299: Fix previous change to auctex.texi., Stefan Monnier, 2014/11/01
- [elpa] 30/299: * style/varioref.el: Update copyright range. ("varioref"): Add more definitions. (LaTeX-varioref-package-options): Reformat., Stefan Monnier, 2014/11/01
- [elpa] 36/299: * doc/auctex.texi: Document `TeX-arg-length' and `TeX-arg-define-length'., Stefan Monnier, 2014/11/01
- [elpa] 37/299: * doc/todo.texi: Remove the todo concerning completion for counters that was implemented by Mosè Giordano on 2013-01-15., Stefan Monnier, 2014/11/01
- [elpa] 31/299: * style/listings.el: Update copyright range. (LaTeX-listings-key-val-options, "listings") (LaTeX-listings-package-options): Update to recent listings version., Stefan Monnier, 2014/11/01
- [elpa] 38/299: * style/placeins.el: New style., Stefan Monnier, 2014/11/01
- [elpa] 39/299: * texmathp.el (texmathp-tex-commands-default): Add \shortintertext., Stefan Monnier, 2014/11/01
- [elpa] 35/299: * latex.el (LaTeX-auto-length-regexp-list): New variable. (LaTeX-auto-regexp-list): Use `LaTeX-auto-length-regexp-list'. ("length"): New type for the parser. (TeX-arg-length): New function. (TeX-arg-define-length): New function. (LaTeX-common-initialization): Initialize some standard LaTeX lengths and use `TeX-arg-length' and `TeX-arg-define-length' for completion of some macros., Stefan Monnier, 2014/11/01
- [elpa] 40/299: * Makefile.in (STYLESRC): Activate new style placeins.el., Stefan Monnier, 2014/11/01