/[emacs]/emacs/lisp/textmodes/bib-mode.el
ViewVC logotype

Diff of /emacs/lisp/textmodes/bib-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by pj, Mon Nov 26 16:18:39 2001 UTC revision 1.13.4.1 by miles, Fri Apr 4 06:20:37 2003 UTC
# Line 25  Line 25 
25  ;;; Commentary:  ;;; Commentary:
26    
27  ;;   GNU Emacs code to help maintain databases compatible with (troff)  ;;   GNU Emacs code to help maintain databases compatible with (troff)
28  ;;   refer and lookbib.  The file bib-file should be set to your  ;;   refer and lookbib.  The file bib-file should be set to your
29  ;;   bibliography file.  Keys are automagically inserted as you type,  ;;   bibliography file.  Keys are automagically inserted as you type,
30  ;;   and appropriate keys are presented for various kinds of entries.  ;;   and appropriate keys are presented for various kinds of entries.
31    
# Line 53  Line 53 
53  (define-key bib-mode-map "\e`" 'abbrev-mode)  (define-key bib-mode-map "\e`" 'abbrev-mode)
54    
55  (defun addbib ()  (defun addbib ()
56     "Set up editor to add to troff bibliography file specified     "Set up editor to add to troff bibliography file specified
57  by global variable `bib-file'.  See description of `bib-mode'."  by global variable `bib-file'.  See description of `bib-mode'."
58     (interactive)     (interactive)
59     (find-file bib-file)     (find-file bib-file)
60     (goto-char (point-max))     (goto-char (point-max))
61     (bib-mode)     (bib-mode)
62     )     )
63      
64  (define-derived-mode bib-mode text-mode "Bib"  (define-derived-mode bib-mode text-mode "Bib"
65     "Mode for editing `lookbib' style bibliographies.       "Mode for editing `lookbib' style bibliographies.
66  Hit RETURN to get next % field key.  Hit RETURN to get next % field key.
67  If you want to ignore this field, just hit RETURN again.  If you want to ignore this field, just hit RETURN again.
68  Use `text-mode' to turn this feature off.  Use `text-mode' to turn this feature off.
69    
70   journal papers:                    A* T D J V N P K W X   journal papers:                    A* T D J V N P K W X
71   articles in books & proceedings:   A* T D B E* I C P K W X   articles in books & proceedings:   A* T D B E* I C P K W X
72   tech reports:                      A* T D R I C K W X   tech reports:                      A* T D R I C K W X
73   books:                             A* T D I C K W X   books:                             A* T D I C K W X
74    
# Line 78  A uthor                T itle          D ate           J ournal Line 78  A uthor                T itle          D ate           J ournal
78  V olume         N umber         P age           K eywords  V olume         N umber         P age           K eywords
79  B in book or proceedings        E ditor         C ity & state  B in book or proceedings        E ditor         C ity & state
80  I nstitution, school, or publisher  I nstitution, school, or publisher
81  R eport number or 'phd thesis' or 'masters thesis' or 'draft' or  R eport number or 'phd thesis' or 'masters thesis' or 'draft' or
82       'unnumbered' or 'unpublished'       'unnumbered' or 'unpublished'
83  W here can be found locally (login name, or ailib, etc.)  W here can be found locally (login name, or ailib, etc.)
84  X comments (not used in indexing)  X comments (not used in indexing)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26