Refer

Introduction

This is the first draft of this document. Please send any comments to dana@acm.org

Description

Refer is a program and a file format used by the troff document formatting package. The format is entirely character based, so it can be used by any program (although the standard character set for accents is troff). It uses tags, but they are limited to one character. It is a very common format for bibliographies. A variation on the refer format is called BibIX. I have no references for BibIX, so I cannot say what the exact differences are.

References

Software Support

The troff system is standard on most UNIX machines. Refer is part of troff, and usually has the following programs included:

Dana Jacobsen maintains a list of some refer tools.

bp fully supports Refer. The new version of BibDB fully supports Refer.

Examples


%A Jim Gettys
%A Phil Karlton
%A Scott McGregor
%T The X Window System, Version 11
%J Software Practice and Experience
%V 20
%N S2
%D 1990
%X A technical overview of the X11 functionality.  This is an
update of the X10 TOG paper by Scheifler & Gettys.

Common problems

Format Description

Each tag is preceded by a percent sign, is one character long, and is followed by a space. Records are separated by a blank line. All fields except for %A should only be given once (some sources claim that %E can also occur multiple times). Fields can extend for multiple lines, with no limit.

Standard tags

H
Header commentary which is printed before the reference.
A
Author's name. Authors should be listed in order, with the senior author first. Names are given in "First Last" format. If the name contains a suffix, it should be appended at the end with a comma, e.g. "Jim Jones, Jr.". For books with an editor but no author, the editor can go in the author field with a suffix of "ed", "eds", or something similar.
Q
Corporate author. Some sources also say to put foreign authors who have no clear last name in this field, but others claim the name here should be that of a non-person. Last time I checked, foreign authors were still people.
T
Title of the article or book.
S
Title of the series.
J
Journal containing the article.
B
Book containing article.
R
Report, paper, or thesis type.
V
Volume.
N
Number with volume.
E
Editor of book containing article.
P
Page number(s).
I
Issuer. This is the publisher.
C
City where published. This is the publishers address.
D
Date of publication. The year should be specified in full, and the month name rather than number should be used.
O
Other information which is printed after the reference.
K
Keywords used by refer to help locate the reference.
L
Label used to number references when the -k flag of refer is used.
X
Abstract. This is not normally printed in a reference.

Other tags

I believe these come from BibIX:
F
Caption
G
US Government ordering number
W
Where the item can be found (location)

Here are some other fields I've seen used:

$
Price
*
Copyright information
M
Mathematical Reviews number. The BIB format (almost exactly like refer) uses this for the month, and has only the year in the %D field.
Y
Table of Contents
Z
Pages in the entire document. Tib reserves this for special use.
l
Language used for document.
U
Annotation. Some people use this for a WWW URL field.
W
Location of conference.


[Back to Formats]
4 January 1995
Dana Jacobsen
dana@acm.org