Initial Commit
[packages] / xemacs-packages / auctex / style / french.el
1 ;;; french.el --- AUCTeX style for the `french' babel option.
2
3 ;; Copyright (C) 2010 Free Software Foundation, Inc.
4
5 ;; Author: Ralf Angeli <angeli@caeruleus.net>
6 ;; Maintainer: auctex-devel@gnu.org
7 ;; Created: 2010-03-20
8 ;; Keywords: tex
9
10 ;; This file is part of AUCTeX.
11
12 ;; AUCTeX is free software; you can redistribute it and/or modify it
13 ;; under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; any later version.
16
17 ;; AUCTeX is distributed in the hope that it will be useful, but
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20 ;; General Public License for more details.
21
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with AUCTeX; see the file COPYING.  If not, write to the Free
24 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 ;; 02110-1301, USA.
26
27 ;;; Commentary:
28
29 ;; Set up AUCTeX for editing French text in connection with the
30 ;; `french' babel option.  The file basically loads the style file for
31 ;; the `frenchb' babel option.
32 ;; 
33 ;; Support for the FrenchPro package by Bernard Gaulle is _not_
34 ;; included.  If the presence of FrenchPro is detected, the `frenchb'
35 ;; support is not loaded.
36
37 ;;; Code:
38
39 (TeX-add-style-hook
40  "french"
41  (lambda ()
42    (when (and (member "babel" TeX-active-styles)
43               (not (member "frenchpro" TeX-active-styles))
44               (not (member "frenchle" TeX-active-styles))
45               (not (member "mlp" TeX-active-styles)))
46      (TeX-run-style-hooks "frenchb")))
47  LaTeX-dialect)
48
49 ;;; french.el ends here