emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex cd1075b 43/57: Add new style/canadian.el


From: Tassilo Horn
Subject: [elpa] externals/auctex cd1075b 43/57: Add new style/canadian.el
Date: Tue, 25 Jul 2017 14:02:34 -0400 (EDT)

branch: externals/auctex
commit cd1075b8c96ee6cac98bb3587c21a04b562510d7
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Add new style/canadian.el
    
    * Makefile.in (STYLESRC): Add new style.
    
    * style/canadian.el: New file.
---
 Makefile.in       |  2 +-
 style/canadian.el | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)

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



reply via email to

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