branch: externals/auctex commit d23de0a5646ee52d8e533e4b7cb74347eaac8ddd Author: Tassilo Horn <t...@gnu.org> Commit: Tassilo Horn <t...@gnu.org>
Style for bidibeamer which delegates to beamer * style/bidibeamer.el: New style. * Makefile.in (STYLESRC): Activate new bidibeamer style. --- ChangeLog | 6 ++++++ Makefile.in | 3 ++- style/bidibeamer.el | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 984547e..d1cc658 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-03-08 Tassilo Horn <t...@gnu.org> + + * style/bidibeamer.el: New style. + + * Makefile.in (STYLESRC): Activate new bidibeamer style. + 2015-03-07 Mos� Giordano <m...@gnu.org> * doc/install.texi: Mention uninstallation in menus. diff --git a/Makefile.in b/Makefile.in index 5e1b261..aa2d40d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -144,7 +144,8 @@ STYLESRC = style/prosper.el \ style/fbb.el style/newtxmath.el style/newtxsf.el \ style/newtxtext.el style/newtxttt.el style/minted.el \ style/wrapfig.el style/relsize.el style/currvita.el \ - style/tcolorbox.el style/color.el style/expl3.el + style/tcolorbox.el style/color.el style/expl3.el \ + style/bidibeamer.el STYLEELC = $(STYLESRC:.el=.elc) ifeq (@preview_enabled@,yes) diff --git a/style/bidibeamer.el b/style/bidibeamer.el new file mode 100644 index 0000000..767a647 --- /dev/null +++ b/style/bidibeamer.el @@ -0,0 +1,40 @@ +;;; bidibeamer.el --- AUCTeX style for the bidibeamer class + +;; Copyright (C) 2015 Free Software Foundation + +;; Author: Tassilo Horn <t...@gnu.org> +;; Created: 2015-03-08 +;; 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 the bidibeamer class which offers the same +;; functionality and interface as latex-beamer, so we simply call the style +;; hook of the latter. + +;;; Code: + +(TeX-add-style-hook + "bidibeamer" + (lambda () + (TeX-run-style-hooks "beamer")) + LaTeX-dialect) + +;;; bidibeamer.el ends here