auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. cd1075b8c96ee6cac98bb


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. cd1075b8c96ee6cac98bb3587c21a04b562510d7
Date: Sun, 2 Jul 2017 17:10:33 -0400 (EDT)

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  cd1075b8c96ee6cac98bb3587c21a04b562510d7 (commit)
      from  dd0dc1968a172e130f24d94b0e5d338bbc2b98c9 (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 cd1075b8c96ee6cac98bb3587c21a04b562510d7
Author: Arash Esbati <address@hidden>
Date:   Sun Jul 2 23:09:24 2017 +0200

    Add new style/canadian.el
    
    * Makefile.in (STYLESRC): Add new style.
    
    * style/canadian.el: New file.

diff --git a/Makefile.in b/Makefile.in
index 2af0782..a5a1e9f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -166,7 +166,7 @@ STYLESRC = style/prosper.el \
           style/exam.el      style/breqn.el     style/sourcecodepro.el \
           style/preview.el   style/fvextra.el   style/jurabib.el \
           style/csquotes.el  style/babel.el     style/dk-bib.el \
-          style/floatrow.el  style/moodle.el
+          style/floatrow.el  style/moodle.el    style/canadian.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/canadian.el b/style/canadian.el
new file mode 100644
index 0000000..f66e86f
--- /dev/null
+++ b/style/canadian.el
@@ -0,0 +1,40 @@
+;;; canadian.el --- AUCTeX style for the `canadian' babel option.
+
+;; Copyright (C) 2017 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2017-07-02
+;; 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:
+
+;; Set up AUCTeX for editing Canadian text in connection with the
+;; `canadian' babel option.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "canadian"
+ (lambda ()
+   (TeX-run-style-hooks "english"))
+ LaTeX-dialect)
+
+;;; canadian.el ends here

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

Summary of changes:
 Makefile.in                     |  2 +-
 style/{tbook.el => canadian.el} | 19 ++++++++-----------
 2 files changed, 9 insertions(+), 12 deletions(-)
 copy style/{tbook.el => canadian.el} (73%)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]