This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  5178ba6a0312ed789a091ddfd75e5d39b4064161 (commit)
       via  bb195aee193724df8b23c4d16808984e325d4594 (commit)
      from  0efe67851762d1f9c00124629d5984b23cf37bd7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5178ba6a0312ed789a091ddfd75e5d39b4064161
Author: Mosè Giordano <m...@gnu.org>
Date:   Sun Jun 21 15:58:09 2015 +0200

    Parse hf-tikz messages suggesting to rerun LaTeX.
    
    * tex-buf.el (TeX-LaTeX-sentinel): Add support for hf-tikz
    messages.

diff --git a/ChangeLog b/ChangeLog
index 77d25cd..4446c4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-06-21  Mosè Giordano  <m...@gnu.org>
 
+       * tex-buf.el (TeX-LaTeX-sentinel): Add support for hf-tikz
+       messages.
+
        * style/mnras.el: New style file.
 
        * Makefile.in (STYLESRC): Activate it.
diff --git a/tex-buf.el b/tex-buf.el
index 0e412cc..b5ed365 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1098,6 +1098,11 @@ changed\\. Rerun LaTeX\\." nil t)
         (message
          "%s" "You should run LaTeX again to get table formatting right")
         (setq TeX-command-next TeX-command-default))
+       ((re-search-forward "^hf-TikZ Warning: Mark '.*' changed\\. \
+Rerun to get mark in right position\\." nil t)
+        (message
+         "%s" "You should run LaTeX again to get TikZ marks in right position")
+        (setq TeX-command-next TeX-command-default))
        ((re-search-forward
          "^\\(\\*\\* \\)?J?I?p?\\(La\\|Sli\\)TeX\\(2e\\)? \
 \\(Version\\|ver\\.\\|<[0-9/]*>\\)" nil t)

commit bb195aee193724df8b23c4d16808984e325d4594
Author: Mosè Giordano <m...@gnu.org>
Date:   Sun Jun 21 15:46:30 2015 +0200

    Add new style file for mnras class.
    
    * style/mnras.el: New style file.
    
    * Makefile.in (STYLESRC): Activate it.

diff --git a/ChangeLog b/ChangeLog
index c64649b..77d25cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-21  Mosè Giordano  <m...@gnu.org>
+
+       * style/mnras.el: New style file.
+
+       * Makefile.in (STYLESRC): Activate it.
+
 2015-06-14  Arash Esbati  <esb...@gmx.de>
 
        * 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  <t...@gnu.org>
 
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: auctex-devel@gnu.org
+;; Author: Mosè Giordano <m...@gnu.org>
+;; 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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |   11 +++-
 Makefile.in    |    3 +-
 style/mnras.el |  176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tex-buf.el     |    5 ++
 4 files changed, 193 insertions(+), 2 deletions(-)
 create mode 100644 style/mnras.el


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to