~ubuntu-branches/ubuntu/natty/auctex/natty

« back to all changes in this revision

Viewing changes to style/alphanum.el

  • Committer: Bazaar Package Importer
  • Author(s): Davide G. M. Salvetti
  • Date: 2007-03-14 00:43:56 UTC
  • mfrom: (2.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20070314004356-xtqoxu6ousd1ldn6
Tags: 11.83-6
* Rebuild with clean source.
* rules.in (build-package): Added dependency on the "clean" target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
;; Copyright (C) 2004 Free Software Foundation, Inc.
4
4
 
5
5
;; Author: Frank K�ster <frank@kuesterei.ch>
6
 
;; Maintainer: auc-tex@sunsite.dk
 
6
;; Maintainer: auctex-devel@gnu.org
7
7
;; Keywords: tex
8
8
 
9
9
;; This file is part of AUCTeX.
20
20
 
21
21
;; You should have received a copy of the GNU General Public License
22
22
;; along with AUCTeX; see the file COPYING.  If not, write to the Free
23
 
;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24
 
;; 02111-1307, USA.
 
23
;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 
24
;; 02110-1301, USA.
25
25
 
26
26
;;; Commentary:
27
27
 
72
72
(TeX-add-style-hook
73
73
 "alphanum"
74
74
 (lambda ()
75
 
   (setq LaTeX-largest-level (LaTeX-section-level "chapter"))
 
75
   (LaTeX-largest-level-set "chapter")
76
76
   (TeX-add-symbols '("levelup" TeX-arg-none))
77
77
   (make-local-variable 'LaTeX-section-list)
78
 
   (setq LaTeX-section-list
79
 
         '(("part" 0)
80
 
           ;; the levels don't make sense with alphanum, I randomly chose 0...
81
 
           ("toc" 0)
82
 
           ("sub" 0)))
 
78
   (LaTeX-section-list-add-locally
 
79
    '(("part" 0)
 
80
      ;; the levels don't make sense with alphanum, I randomly chose 0...
 
81
      ("toc" 0)
 
82
      ("sub" 0)) t)
83
83
   (setq LaTeX-section-label
84
84
         '(("part" . "part:")
85
85
           ("toc" . "sec:")
93
93
       (reftex-add-section-levels
94
94
        '(("toc" .  reftex-get-section-level-alphanum)
95
95
          ("sub" .  reftex-get-section-level-alphanum))))))
 
96
 
 
97
;; Local Variables:
 
98
;; coding: iso-8859-1
 
99
;; End: