summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rcs/rcs.el
blob: 3f090a4f4503f59ac4c4ee7ebb34968328acba8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; $Id: rcs.el,v 1.6 1995/08/02 10:59:53 schrod Exp $
;;;----------------------------------------------------------------------

;;;
;;; AUC-TeX style hook for rcs style option
;;;
;;; (history at end)


(TeX-add-style-hook "rcs"
  (function
   (lambda ()
     (LaTeX-add-environments "rcslog")
     (TeX-add-symbols
       ;; public interface
       "RCS"				; define \RCS... tag
       "RCSTime"			; holds time of Date field
       "RCSdate"			; typeset date
       "RCSID"				; put RCS field in footline
       "RCSdef"				; like \RCS, & output on console
       "settime"			; local in env rcslog: set rev time
       "rcsAuthor"			; maps uid to full name
       "rcsLogIntro"			; intro text to rev log
       ;; protected interface
       "RcsEmptyValue"			; used as value for unexpanded fields
       "RcsHandleDate"			; handler for Date field
       "RcsLogStyle"			; define style of RCS log
       "RcsLogListStyle"		; define style of log list
       "RcsLogHeading"			; heading of RCS log
       "RcsLogDate"			; how the date is typeset
       "RcsLogTime"			; how the time is typeset
       ;; internationalization
       "RcsLogHeadingName"		; text in heading of RCS log
       "RcsUnknownFile"			; used if Log value is empty
       "RcsEmptyLog"			; used as empty Log text
       "RcsLogRevision"			; `real name' of \Revision
       ;; protected observers -- must not be redefined
       "RCS_keyword"			; keyword of last parsed field
       "RCS_value"			; value of last parsed field
       "RCS_get_author"			; get the full name of an author
       )
     )))


;;;======================================================================
;;
;; $Log: rcs.el,v $
;; Revision 1.6  1995/08/02  10:59:53  schrod
;;     \RcsLoadHook & \RcsLoaded don't exist any more.
;;
;; Revision 1.5  1993/11/08  20:17:18  schrod
;;     New tag in protected interface: \RcsLogListStyle
;;
;; Revision 1.4  1993/11/02  21:10:22  schrod
;;     New tag in public interface: \RCSdef
;;
;; Revision 1.3  1993/11/02  18:45:43  schrod
;;     New tag in public interface: \RCSID
;;
;; Revision 1.2  1993/11/02  16:15:08  schrod
;;     Adapted to interface of StyleRevision 2.3.
;;
;; Revision 1.1  1993/10/29  18:14:47  schrod
;;     Preliminary version, doesn't care about macro args.
;;