1 ;;; scrreprt.el --- AUCTeX style for scrreprt.cls.
3 ;; Copyright (C) 2002, 2005 Free Software Foundation
5 ;; Author: Mark Trettin <Mark.Trettin@gmx.de>
9 ;; This file is part of AUCTeX.
11 ;; AUCTeX is free software; you can redistribute it and/or modify it
12 ;; under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 3, or (at your option)
16 ;; AUCTeX is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with AUCTeX; see the file COPYING. If not, write to the Free
23 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
28 ;; This file adds support for `scrreprt.cls'. This file needs
36 (LaTeX-largest-level-set "chapter")
37 ;; load basic definitons
38 (TeX-run-style-hooks "scrbase")
42 '("chapappifchapterprefix" "Additional text")
43 '("setpartpreamble" [ TeX-arg-KOMA-setpreamble ] [ "Width" ] t)
44 '("setchapterpreamble" [ TeX-arg-KOMA-setpreamble ] [ "Width" ] t)
45 '("dictum" [ "Author" ] t))
46 (LaTeX-section-list-add-locally '("addchap" 1))
47 (make-local-variable 'LaTeX-section-label)
48 (setq LaTeX-section-label (append
50 '(("addchap" . nil))))
51 ;; Definitions for font-latex
52 (when (and (featurep 'font-latex)
53 (eq TeX-install-font-lock 'font-latex-setup))
55 (font-latex-add-keywords '(("addchap" "[{")
56 ("setpartpreamble" "[[{")
57 ("setchapterpreamble" "[[{")
60 ;; Sectioning keywords
61 (font-latex-add-keywords '(("addchap" "[{")) 'sectioning-1))))
63 ;;; scrreprt.el ends here