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

« back to all changes in this revision

Viewing changes to style/varioref.el

  • Committer: Bazaar Package Importer
  • Author(s): Davide G. M. Salvetti
  • Date: 2002-01-18 16:30:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020118163043-tfgs96q1xrtshsq1
Tags: upstream-11.06
ImportĀ upstreamĀ versionĀ 11.06

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; AUCTeX style file with support for varioref.sty
 
2
;; Author: C. Dominik <dominik@strw.leidenuniv.nl>
 
3
;; Last change: 20 Feb 1999
 
4
 
 
5
(TeX-add-style-hook "varioref"
 
6
   (lambda ()
 
7
     
 
8
     (TeX-add-symbols
 
9
 
 
10
      ;; The macros with label arguments
 
11
      '("vref" TeX-arg-label)
 
12
      '("vpageref" [ "Same page text" ] [ "different page text" ] TeX-arg-label)
 
13
      '("fullref" TeX-arg-label)
 
14
 
 
15
      ;; And the other macros used for customization
 
16
      "reftextbefore" "reftextfacebefore"
 
17
      "reftextafter"  "reftextfaceafter"
 
18
      "reftextfaraway" "vreftextvario" "vrefwarning")
 
19
 
 
20
     ;; Insatall completion for labels
 
21
     (setq TeX-complete-list
 
22
           (append
 
23
            '(("\\\\vref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")
 
24
              ("\\\\vpageref\\(\\[[^]]*\\]\\)*{\\([^{}\n\r\\%,]*\\)" 
 
25
               2 LaTeX-label-list "}"))
 
26
            TeX-complete-list))))
 
27
 
 
28
;; varioref.el ends here
 
 
b'\\ No newline at end of file'