[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex bb195ae 15/28: Add new style file for mnras clas
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex bb195ae 15/28: Add new style file for mnras class. |
Date: |
Fri, 07 Aug 2015 15:59:22 +0000 |
branch: externals/auctex
commit bb195aee193724df8b23c4d16808984e325d4594
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Add new style file for mnras class.
* style/mnras.el: New style file.
* Makefile.in (STYLESRC): Activate it.
---
ChangeLog | 8 ++-
Makefile.in | 3 +-
style/mnras.el | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 185 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c64649b..77d25cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-21 Mos� Giordano <address@hidden>
+
+ * style/mnras.el: New style file.
+
+ * Makefile.in (STYLESRC): Activate it.
+
2015-06-14 Arash Esbati <address@hidden>
* style/pdfpages.el ("pdfpages"): Restrict suggested files to
@@ -8,7 +14,7 @@
* tex-buf.el (TeX-LaTeX-sentinel-has-warnings, TeX-parse-error):
Cater for packages with digits in their names (e.g., fixltx2e,
- wich emits a warning from TeX Live 2015).
+ which emits a warning from TeX Live 2015).
2015-06-09 Tassilo Horn <address@hidden>
diff --git a/Makefile.in b/Makefile.in
index 069a847..f365af7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -148,7 +148,8 @@ STYLESRC = style/prosper.el \
style/bidibeamer.el style/enumitem.el style/caption.el \
style/geometry.el style/ltablex.el style/ltxtable.el \
style/mn2e.el style/colortbl.el style/attachfile.el \
- style/newpxtext.el style/newpxmath.el style/pdfpages.el
+ style/newpxtext.el style/newpxmath.el style/pdfpages.el \
+ style/mnras.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/style/mnras.el b/style/mnras.el
new file mode 100644
index 0000000..9f2ab33
--- /dev/null
+++ b/style/mnras.el
@@ -0,0 +1,176 @@
+;;; mnras.el --- AUCTeX style for `mnras.cls' version 3.0.
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Maintainer: address@hidden
+;; Author: Mosè Giordano <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 `mnras.cls' version 3.0.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "mnras"
+ (lambda ()
+ (if (LaTeX-provided-class-options-member "mnras" "usegraphicx")
+ (TeX-run-style-hooks "graphicx"))
+ (if (LaTeX-provided-class-options-member "mnras" "usenatbib")
+ (TeX-run-style-hooks "natbib"))
+ (if (LaTeX-provided-class-options-member "mnras" "usedcolumn")
+ (TeX-run-style-hooks "dcolumn"))
+ (TeX-run-style-hooks
+ "geometry"
+ "fixltx2e"
+ "hyperref")
+ (TeX-add-symbols
+ ;; 5 Title page
+ '("title" ["Short title"] "Long title")
+ '("author" ["Short author(s)"] (LaTeX-arg-author "Long author(s)"))
+ "newauthor"
+ ;; 7.2 Special symbols
+ '("bmath" 1)
+ '("mathbfit" 1)
+ '("mathbfss" 1)
+ ;; 7.2 Special symbols -- Table 1
+ "sun"
+ "earth"
+ "degr"
+ "diameter"
+ "sq"
+ "fd"
+ "fh"
+ "fm"
+ "fs"
+ "fdg"
+ "farcm"
+ "farcs"
+ "fp"
+ "arcmin"
+ "arcsec"
+ "micron"
+ ;; 7.2 Special symbols -- Table 2
+ "upi"
+ "umu"
+ "upartial"
+ "leqslant"
+ "geqslant"
+ "la"
+ "ga"
+ "getsto"
+ "cor"
+ "lid"
+ "gid"
+ "sol"
+ "sog"
+ "lse"
+ "gse"
+ "grole"
+ "leogr"
+ "loa"
+ "goa"
+ ;; 7.3 Ions
+ '("ion" 2)
+ ;; A Journal abbreviations -- Table A1
+ "aap"
+ "astap"
+ "aapr"
+ "aaps"
+ "actaa"
+ "afz"
+ "aj"
+ "ao"
+ "applopt"
+ "aplett"
+ "apj"
+ "apjl"
+ "apjlett"
+ "apjs"
+ "apjsupp"
+ "apss"
+ "araa"
+ "arep"
+ "aspc"
+ "azh"
+ "baas"
+ "bac"
+ "bain"
+ "caa"
+ "cjaa"
+ "fcp"
+ "gca"
+ "grl"
+ "iaucirc"
+ "icarus"
+ "japa"
+ "jcap"
+ "jcp"
+ "jgr"
+ "jqsrt"
+ "jrasc"
+ "memras"
+ "memsai"
+ "mnassa"
+ "na"
+ "nar"
+ "nat"
+ "nphysa"
+ "pra"
+ "prb"
+ "prc"
+ "prd"
+ "pre"
+ "prl"
+ "pasa"
+ "pasp"
+ "pasj"
+ "physrep"
+ "physscr"
+ "planss"
+ "procspie"
+ "rmxaa"
+ "qjras"
+ "sci"
+ "skytel"
+ "solphys"
+ "sovast"
+ "ssr"
+ "zap")
+
+ (LaTeX-add-environments
+ "keywords"
+ "proof")
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("author" "[{")
+ ("title" "[{")
+ ("newauthor"))
+ 'function))))
+
+(defvar LaTeX-mnras-class-options
+ '("letters" "onecolumn" "doublespacing" "referee" "galley" "landscape"
+ "usenatbib" "usegraphicx" "useAMS" "usedcolumn")
+ "Package options for the mnras package.")
+
+;; mnras.el ends here
- [elpa] externals/auctex 1341b2c 09/28: Query for optional env arg defined with \lstnewenvironment., (continued)
- [elpa] externals/auctex 1341b2c 09/28: Query for optional env arg defined with \lstnewenvironment., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 7a0d85f 10/28: New style pdfpages.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 3cd3e72 08/28: Restore Emacs 22 compatibility, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 8426ca5 12/28: Missing ConTeXt-(un)numbered-section-list-nl variables., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 0efe678 14/28: Improve completion of includepdf macro., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 8052cd5 13/28: Find warnings emitted by a package with digits in its name., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 24a2a9d 20/28: Add `LCRJ' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex b9eddc9 11/28: Really ignore dbus errors, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 1202f83 19/28: Add `X' to `LaTeX-array-column-letters'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 5178ba6 16/28: Parse hf-tikz messages suggesting to rerun LaTeX., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex bb195ae 15/28: Add new style file for mnras class.,
Tassilo Horn <=
- [elpa] externals/auctex c2c7dd9 18/28: Parse user-defined new column types., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e301b71 22/28: Add new style textpos.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex d27e773 21/28: Add new style environ.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 482dddb 24/28: Query for default first arg when (re-)defining env's., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 107f106 23/28: Add new style vwcol.el., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex e351a3a 26/28: Add missing commands `\nameref*' and `\Nameref'., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 6094700 17/28: Restore deleted preview README., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 166e14b 25/28: Fix a typo in the name of provided env's., Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 3fdeb4b 27/28: Setup preview differently; fixes bug#21188, Tassilo Horn, 2015/08/07
- [elpa] externals/auctex 1fc2c7a 28/28: Merge branch 'master' into elpa, Tassilo Horn, 2015/08/07