Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.
%sccs.include.redist.roff%
@(#)refer.mac 8.1 (Berkeley) 06/08/93
COMMENTED REFER MACROS . \" refer macros for citations .][ \\$1 # mysterious synonym for .][ .. .[\\$1 # call one of the macros below .. . \" [0 - other type of citation .FS # start -ms footnote .nr [: 0 # has anything been printed? .nr [: 1 # if there's a corporate author, \\*([Q\c # set [: to 1 and print [Q .\} .nr [: 1 # set [: to 1, \\*([A\c # print the author and continue .\} .nr [: 1 # set [: to 1, \f2\\*([T\f1\c # and print the title in italics .\} .\} .FE # end -ms footnote .. .FS # start -ms footnote \f2\\*([J\f1\c # always a journal, in italics .\} . # end reference with period .FE # end -ms footnote .. .FS # start -ms footnote .\} \\*([I\c # always a publisher with book . # end reference with period .FE # end -ms footnote .. .FS # start -ms footnote in \f2\\*([B\f1\c # always "in" book, italicized .\} . # end reference with period .FE # end -ms footnote .. . \" [4 - report .FS # start -ms footnote .\} . # end reference with period .FE # end -ms footnote .. .[< ..
The Regents of the University of California. All rights reserved.
%sccs.include.redist.roff%
@(#)refer.mac 8.1 (Berkeley) 06/08/93
COMMENTED REFER MACROS . \" refer macros for citations .][ \\$1 # mysterious synonym for .][ .. .[\\$1 # call one of the macros below .. . \" [0 - other type of citation .FS # start -ms footnote .nr [: 0 # has anything been printed? .nr [: 1 # if there's a corporate author, \\*([Q\c # set [: to 1 and print [Q .\} .nr [: 1 # set [: to 1, \\*([A\c # print the author and continue .\} .nr [: 1 # set [: to 1, \f2\\*([T\f1\c # and print the title in italics .\} .\} .FE # end -ms footnote .. .FS # start -ms footnote \f2\\*([J\f1\c # always a journal, in italics .\} . # end reference with period .FE # end -ms footnote .. .FS # start -ms footnote .\} \\*([I\c # always a publisher with book . # end reference with period .FE # end -ms footnote .. .FS # start -ms footnote in \f2\\*([B\f1\c # always "in" book, italicized .\} . # end reference with period .FE # end -ms footnote .. . \" [4 - report .FS # start -ms footnote .\} . # end reference with period .FE # end -ms footnote .. .[< ..
# with the -e or -s $LIST$ options.
References # Print References section heading.
# Initialize; IP references printed,
.rn IP FP # because FP is replaced by IP,
..
.]>
..
..
.[-
..
.. # they should be removed as well.
circumvent EOF bug in troff # mysterious fix for .MC output
..
Note: the double quotes in string comparisons are in fact control-g
characters; this allows fields to contain double quotes.