branch: externals/auctex commit ef68910964ccf0db5c72ce7628b7a7647894f313 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Add new style/australian.el and style/newzealand.el * Makefile.in (STYLESRC): Add new styles. * style/australian.el: * style/newzealand.el: New files. --- Makefile.in | 3 ++- style/australian.el | 40 ++++++++++++++++++++++++++++++++++++++++ style/newzealand.el | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index a5a1e9f..4114d0e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -166,7 +166,8 @@ 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/canadian.el + style/floatrow.el style/moodle.el style/canadian.el \ + style/australian.el style/newzealand.el STYLEELC = $(STYLESRC:.el=.elc) diff --git a/style/australian.el b/style/australian.el new file mode 100644 index 0000000..a11b2f1 --- /dev/null +++ b/style/australian.el @@ -0,0 +1,40 @@ +;;; australian.el --- AUCTeX style for the `australian' babel option. + +;; Copyright (C) 2017 Free Software Foundation, Inc. + +;; Author: Arash Esbati <ar...@gnu.org> +;; Maintainer: auctex-de...@gnu.org +;; 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 Australian text in connection with the +;; `australian' babel option. + +;;; Code: + +(TeX-add-style-hook + "australian" + (lambda () + (TeX-run-style-hooks "english")) + LaTeX-dialect) + +;;; australian.el ends here diff --git a/style/newzealand.el b/style/newzealand.el new file mode 100644 index 0000000..c24a265 --- /dev/null +++ b/style/newzealand.el @@ -0,0 +1,40 @@ +;;; newzealand.el --- AUCTeX style for the `newzealand' babel option. + +;; Copyright (C) 2017 Free Software Foundation, Inc. + +;; Author: Arash Esbati <ar...@gnu.org> +;; Maintainer: auctex-de...@gnu.org +;; 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 Newzealand text in connection with the +;; `newzealand' babel option. + +;;; Code: + +(TeX-add-style-hook + "newzealand" + (lambda () + (TeX-run-style-hooks "english")) + LaTeX-dialect) + +;;; newzealand.el ends here