[net.text] two citation formats with "bib"

colonel@sunybcs.UUCP (Col. G. L. Sicherman) (11/06/86)

In article <2002@dciem.UUCP>, tjb@dciem.UUCP (Tim Bowden) writes:
> One is a running citation, in which the authors' names
> are included in the text and followed by the date in parentheses, e. g.
> 
> "...results have been confirmed by Smith and Jones (1982)."
> 
> and the other, used where the citation is not part of the text, has
> both authors' names and date included in the parentheses, e. g.
> 
> "...results have been confirmed by others (Smith and Jones, 1982)."
> 
>    In particular, it seems necessary for "bib" to alter the [F string
> depending on whether a standard or alternative citation
> format is used, or to create a string that invokes a conditional
> troff instruction to put either an open parenthesis or a comma
> between the authors' names and the date, depending on which
> form was used.

The second method is bound to be easier.  If you use alternate [F strings,
bib won't disambiguate references properly.  Use a citation template like
"3\*(((D\*())", and define parenthesizing macros by

	.ds (( (
	.ds )) )
	.de (
	.ds (( , \&
	.ds )) \&
	(\c
	..
	.de )
	.ds (( (
	.ds )) )
	)\\$1
	..

Now you can say

	results have been confirmed by [.smith jones.].

or

	results have been confirmed by others
	.(
	[.smith jones.]
	.) .

Hope this works.
-- 
Col. G. L. Sicherman
UU: ...{rocksvax|decvax}!sunybcs!colonel
CS: colonel@buffalo-cs
BI: colonel@sunybcs, csdsiche@sunyabvc