| 1 |
;;; $Id: rcs.el,v 1.6 1995/08/02 10:59:53 schrod Exp $ |
| 2 |
;;;---------------------------------------------------------------------- |
| 3 |
|
| 4 |
;;; |
| 5 |
;;; AUC-TeX style hook for rcs style option |
| 6 |
;;; |
| 7 |
;;; (history at end) |
| 8 |
|
| 9 |
|
| 10 |
(TeX-add-style-hook "rcs" |
| 11 |
(function |
| 12 |
(lambda () |
| 13 |
(LaTeX-add-environments "rcslog") |
| 14 |
(TeX-add-symbols |
| 15 |
;; public interface |
| 16 |
"RCS" ; define \RCS... tag |
| 17 |
"RCSTime" ; holds time of Date field |
| 18 |
"RCSdate" ; typeset date |
| 19 |
"RCSID" ; put RCS field in footline |
| 20 |
"RCSdef" ; like \RCS, & output on console |
| 21 |
"settime" ; local in env rcslog: set rev time |
| 22 |
"rcsAuthor" ; maps uid to full name |
| 23 |
"rcsLogIntro" ; intro text to rev log |
| 24 |
;; protected interface |
| 25 |
"RcsEmptyValue" ; used as value for unexpanded fields |
| 26 |
"RcsHandleDate" ; handler for Date field |
| 27 |
"RcsLogStyle" ; define style of RCS log |
| 28 |
"RcsLogListStyle" ; define style of log list |
| 29 |
"RcsLogHeading" ; heading of RCS log |
| 30 |
"RcsLogDate" ; how the date is typeset |
| 31 |
"RcsLogTime" ; how the time is typeset |
| 32 |
;; internationalization |
| 33 |
"RcsLogHeadingName" ; text in heading of RCS log |
| 34 |
"RcsUnknownFile" ; used if Log value is empty |
| 35 |
"RcsEmptyLog" ; used as empty Log text |
| 36 |
"RcsLogRevision" ; `real name' of \Revision |
| 37 |
;; protected observers -- must not be redefined |
| 38 |
"RCS_keyword" ; keyword of last parsed field |
| 39 |
"RCS_value" ; value of last parsed field |
| 40 |
"RCS_get_author" ; get the full name of an author |
| 41 |
) |
| 42 |
))) |
| 43 |
|
| 44 |
|
| 45 |
;;;====================================================================== |
| 46 |
;; |
| 47 |
;; $Log: rcs.el,v $ |
| 48 |
;; Revision 1.6 1995/08/02 10:59:53 schrod |
| 49 |
;; \RcsLoadHook & \RcsLoaded don't exist any more. |
| 50 |
;; |
| 51 |
;; Revision 1.5 1993/11/08 20:17:18 schrod |
| 52 |
;; New tag in protected interface: \RcsLogListStyle |
| 53 |
;; |
| 54 |
;; Revision 1.4 1993/11/02 21:10:22 schrod |
| 55 |
;; New tag in public interface: \RCSdef |
| 56 |
;; |
| 57 |
;; Revision 1.3 1993/11/02 18:45:43 schrod |
| 58 |
;; New tag in public interface: \RCSID |
| 59 |
;; |
| 60 |
;; Revision 1.2 1993/11/02 16:15:08 schrod |
| 61 |
;; Adapted to interface of StyleRevision 2.3. |
| 62 |
;; |
| 63 |
;; Revision 1.1 1993/10/29 18:14:47 schrod |
| 64 |
;; Preliminary version, doesn't care about macro args. |
| 65 |
;; |