The format of a data base entry is given completely in ``Some Applications of Inverted Indexes on UNIX'' by M. E. Lesk, the first part of this report, (also TM 77-1274-17) and is summarized here via a few examples. In each example, first the output format for an item is shown, and then the corresponding data base entry.
Other forms of publication can be entered similarly. Note that conference proceedings are entered as if journals, with the conference name on a %J line. This is also sometimes appropriate for obscure publications such as series of lecture notes. When something is both a report and an article, or both a memorandum and an article, enter all necessary information for both; see the first article above, for example. Extra information (such as ``In preparation'' or ``Japanese translation'') should be placed on a line beginning %O. The most common use of %O lines now is for ``Also in ...'' to give an additional reference to a secondary appearance of the same paper.
Some of the possible fields of a citation are:
Letter Meaning Letter Meaning A Author K Extra keys B Book including item N Issue number C City of publication O Other D Date P Page numbers E Editor of book R Report number I Publisher (issuer) T Title of item J Journal name V Volume numberNote that %B is used to indicate the title of a book containing the article being entered; when an item is an entire book, the title should be entered with a %T as usual.
Normally, the order of items does not matter. The only exception is that if there are multiple authors (%A lines) the order of authors should be that on the paper. If a line is too long, it may be continued on to the next line; any line not beginning with % or . (dot) is assumed to be a continuation of the previous line. Again, see the first article above for an example of a long title. Except for authors, do not repeat any items; if two %J lines are given, for example, the first is ignored. Multiple items on the same file should be separated by blank lines.
Note that in formatted printouts of the file, the exact appearance of the items is determined by a set of macros and the formatting programs. Do not try to adjust fonts, punctuation, etc. by editing the data base; it is wasted effort. In case someone has a real need for a differently-formatted output, a new set of macros can easily be generated to provide alternative appearances of the citations.