[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/style/scrpage2.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/style/scrpage2.el,v |
Date: |
Tue, 21 Aug 2007 20:34:28 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 07/08/21 20:34:28
Index: scrpage2.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/scrpage2.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- scrpage2.el 23 Oct 2005 10:13:01 -0000 1.4
+++ scrpage2.el 21 Aug 2007 20:34:28 -0000 1.5
@@ -1,10 +1,26 @@
-;;; scrpage2.el -- AUCTeX style for scrpage2.sty
+;;; scrpage2.el --- AUCTeX style for scrpage2.sty.
-;; License: GPL, see the file COPYING in the base directory of AUCTeX
;; Author: Ralf Angeli <address@hidden>
;; Created: 2003-11-01
;; 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 2, 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 `scrpage2.sty'.
@@ -63,42 +79,38 @@
;; Fontification
(when (and (featurep 'font-latex)
(eq TeX-install-font-lock 'font-latex-setup))
- (setq font-latex-match-variable-keywords-local
- (append font-latex-match-variable-keywords-local
- '("lehead"
- "cehead"
- "rehead"
- "lefoot"
- "cefoot"
- "refoot"
- "lohead"
- "cohead"
- "rohead"
- "lofoot"
- "cofoot"
- "rofoot"
- "ihead"
- "chead"
- "ohead"
- "ifoot"
- "cfoot"
- "ofoot"
- "automark"
- "setfootwidth"
- "setheadwidth"
- "setfootbotline"
- "setfootsepline"
- "setheadtopline"
- "setheadsepline")))
- (font-latex-match-variable-make)
- (setq font-latex-match-function-keywords-local
- (append font-latex-match-function-keywords-local
- '("deftripstyle"
- "defpagestyle"
- "newpagestyle"
- "renewpagestyle"
- "providepagestyle")))
- (font-latex-match-function-make))))
+ (font-latex-add-keywords '(("lehead" "[{")
+ ("cehead" "[{")
+ ("rehead" "[{")
+ ("lefoot" "[{")
+ ("cefoot" "[{")
+ ("refoot" "[{")
+ ("lohead" "[{")
+ ("cohead" "[{")
+ ("rohead" "[{")
+ ("lofoot" "[{")
+ ("cofoot" "[{")
+ ("rofoot" "[{")
+ ("ihead" "[{")
+ ("chead" "[{")
+ ("ohead" "[{")
+ ("ifoot" "[{")
+ ("cfoot" "[{")
+ ("ofoot" "[{")
+ ("automark" "[{")
+ ("setfootwidth" "[{")
+ ("setheadwidth" "[{")
+ ("setfootbotline" "[{")
+ ("setfootsepline" "[{")
+ ("setheadtopline" "[{")
+ ("setheadsepline" "[{"))
+ 'variable)
+ (font-latex-add-keywords '(("deftripstyle" "{[[{{{{{{")
+ ("defpagestyle" "{{{")
+ ("newpagestyle" "{{{")
+ ("renewpagestyle" "{{{")
+ ("providepagestyle" "{{{"))
+ 'function))))
(defvar LaTeX-scrpage2-package-options '("headinclude" "headexclude"
"footinclude" "footexclude"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] Changes to auctex/style/scrpage2.el,v,
Ralf Angeli <=