Thread View: net.text
2 messages
2 total messages
Started by Tim Bowden
Wed, 05 Nov 1986 17:56
Citations with "bib"
Author: Tim Bowden
Date: Wed, 05 Nov 1986 17:56
Date: Wed, 05 Nov 1986 17:56
38 lines
2077 bytes
2077 bytes
A friend has encountered a problem in using "bib" to prepare
an article to be submitted to a journal. The journal requires
citations in the text to be one of two forms, depending on the context.
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)."
How does one set up the bmac.* and bib.* files
so that both types of references can be handled automatically by "bib"
and "troff"?
"bib" provides for standard and alternative formats for citations,
which might be used for this purpose, but my friend and I, who
have both wrestled with templates and troff macros, cannot see
a way to implement this.
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.
We would appreciate it if anyone who has solved this problem
would send me a solution in the form of a bib template or bmac macro
or general advice. The journal is "Human Factors".
--
Timothy Bowden, DCIEM
linus!cbosgd!utcs!utcsri!dciem!tjb
or allegra!cbosgd!utcs!utcsri!dciem!tjb
Re: two citation formats with "bib"
Author: Col. G. L. Sicherman
Date: Thu, 06 Nov 1986 15:57
Date: Thu, 06 Nov 1986 15:57
52 lines
1949 bytes
1949 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads