Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

multiple authors in bibtex

2,770 views
Skip to first unread message

I w a n

unread,
Jul 28, 2003, 2:58:28 PM7/28/03
to
Hi,

I would like to have a list of authors in my bibliography. It should
look like :
FirstName1 LastName1, FirstName2 LastName2, FirstName3 LastName3 and
FirstName4 LastName4

I tried:
author = {FirstName1 LastName1, FirstName2 LastName2, FirstName3
LastName3 and FirstName4 LastName4},
but this leaves the commas away exept the last one. It looks like:
FirstName1 LastName1 FirstName2 LastName2, FirstName3 LastName3 and
FirstName4 LastName4

The faq: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=manyauthor did
not give the answer. How do I get the commas in place.


Iwan


Maarten Sneep

unread,
Jul 28, 2003, 3:06:15 PM7/28/03
to
In article <bg3rnh$n43$1...@news.tudelft.nl>,

"I w a n" <iw...@marihuana.com> wrote:

> Hi,
>
> I would like to have a list of authors in my bibliography. It should
> look like :
> FirstName1 LastName1, FirstName2 LastName2, FirstName3 LastName3 and
> FirstName4 LastName4
>
> I tried:
> author = {FirstName1 LastName1, FirstName2 LastName2, FirstName3
> LastName3 and FirstName4 LastName4},
> but this leaves the commas away exept the last one. It looks like:
> FirstName1 LastName1 FirstName2 LastName2, FirstName3 LastName3 and
> FirstName4 LastName4

Your problem is not in the bib-file. Make sure the names in your
bibliography are typed as stated in the bibtex manual.

The joy of bibtex is that you .bib file does not determine the
formatting of the bibliography, so you can use teh same bib-file over
and over again, even if the requirements on the formatting are different.

the bad news is that those bst files (that do determine the formatting
of the bibliography) are , err, ... even harder to write.

Luckily, we have the makebst program. answer a load of questions about
your bibliography, and your bst will be written for you.

Just run "tex makebst" from a command prompt and let the inquiry begin.

Regards,

Maarten

Ralf Stubner

unread,
Jul 28, 2003, 3:35:15 PM7/28/03
to
"I w a n" <iw...@marihuana.com> writes:
[...]

> author = {FirstName1 LastName1, FirstName2 LastName2, FirstName3
> LastName3 and FirstName4 LastName4},
[...]

> The faq: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=manyauthor did
> not give the answer. How do I get the commas in place.

The FAQ does give the right answer (as always). You *must* specify the
author as:

author = {FirstName1 LastName1 and FirstName2 LastName2 and FirstName3


LastName3 and FirstName4 LastName4},


(The indivdual names could also be 'LastName, FirstName'. See the BibTeX
manual for possible name formats).

Whether or not this will give the desired output depends on the BibTeX
style you are using. But without propper input, BibTeX can't give you
the correct output.

cheerio
ralf

I w a n

unread,
Jul 28, 2003, 5:00:25 PM7/28/03
to
OK. I understand. I need a style definition to have the layout I want.

Where can I see previews of the styles or is "plain" the only style
available in most distributions. Maybe anyone even knows which style
gives the layout I want. I want:


FirstName1 LastName1, FirstName2 LastName2, FirstName3 LastName3 and

FirstName4 LastName4 (names seperated by commas and the last two by
"and")

Iwan


Philip A. Viton

unread,
Jul 28, 2003, 5:04:44 PM7/28/03
to
In article <bg42s5$p64$1...@news.tudelft.nl>, iw...@marihuana.com says...
There are some examples in The LaTeX Companion, but it's not exhaustive.
If you really need a specific layout, and you can't find a journal which
has what you want and also supports a bst file, you can always roll your
own via custom-bib (available on CTAN).

--
Philip A. Viton
Ohio State University

Robin Fairbairns

unread,
Jul 28, 2003, 5:27:21 PM7/28/03
to
"I w a n" <iw...@marihuana.com> writes:
>OK. I understand. I need a style definition to have the layout I want.

i presume you're responding to maarten sneep? don't: he's wrong -- as
ralf stubner pointed out, the faq is right, and you won't ever get the
"correct" output if you don't format the .bib file correctly. read
the faq answer again.

>Where can I see previews of the styles or is "plain" the only style
>available in most distributions. Maybe anyone even knows which style
>gives the layout I want. I want:
>FirstName1 LastName1, FirstName2 LastName2, FirstName3 LastName3 and
>FirstName4 LastName4 (names seperated by commas and the last two by
>"and")

all the styles i know insert a comma after "lastname3" and before the
"and". perhaps the natbib .bst files (which originate in europe) omit
that final comma.
--
Robin Fairbairns, Cambridge

Maarten Sneep

unread,
Jul 28, 2003, 5:49:36 PM7/28/03
to
In article <bg44fp$810$2...@pegasus.csx.cam.ac.uk>,
r...@cl.cam.ac.uk (Robin Fairbairns) wrote:

> "I w a n" <iw...@marihuana.com> writes:
> >OK. I understand. I need a style definition to have the layout I want.
>
> i presume you're responding to maarten sneep? don't: he's wrong -- as
> ralf stubner pointed out, the faq is right, and you won't ever get the
> "correct" output if you don't format the .bib file correctly. read
> the faq answer again.

For the record, that was was I was suggesting, maybe it didn't quite
come out that way. The bib has to conform to whatever the BibTeX manual
says is correct.

> >Where can I see previews of the styles or is "plain" the only style
> >available in most distributions. Maybe anyone even knows which style
> >gives the layout I want. I want:
> >FirstName1 LastName1, FirstName2 LastName2, FirstName3 LastName3 and
> >FirstName4 LastName4 (names seperated by commas and the last two by
> >"and")
>
> all the styles i know insert a comma after "lastname3" and before the
> "and". perhaps the natbib .bst files (which originate in europe) omit
> that final comma.

And that was the second part of my suggestion: the makebst tex program
"tex makebst" generates a bst file for you, by answering a few simple
questions. It will let you generate a bst file to create a bibliography
with the names formatted as asked.

Maarten.

Robin Fairbairns

unread,
Jul 28, 2003, 6:13:35 PM7/28/03
to
Maarten Sneep <sivxtqsdquocnhinwgit__NOSP@M__xs4all.nl> writes:
>And that was the second part of my suggestion: the makebst tex program
>"tex makebst" generates a bst file for you, by answering a few simple
>questions. It will let you generate a bst file to create a bibliography
>with the names formatted as asked.

i know that. which is why i wrote about that route to finding "the
right bibstyle" in the faq.

this idea of writing commas between authors is insidious because it
seems such common sense. it's important to point out the user's error
as soon as possible, or they're going to conclude that bibtex is
perfectly useless.

[me, i don't think it's useless, but i feel sure it must be possible
to do it some other way. all these little booby traps are getting
boring, after getting on for 15 years of bibtex 0.99.]
--
Robin Fairbairns, Cambridge

Maarten Sneep

unread,
Jul 29, 2003, 3:02:07 AM7/29/03
to
In article <bg476f$810$4...@pegasus.csx.cam.ac.uk>,
r...@cl.cam.ac.uk (Robin Fairbairns) wrote:

> Maarten Sneep <sivxtqsdquocnhinwgit__NOSP@M__xs4all.nl> writes:
> >And that was the second part of my suggestion: the makebst tex program
> >"tex makebst" generates a bst file for you, by answering a few simple
> >questions. It will let you generate a bst file to create a bibliography
> >with the names formatted as asked.
>
> i know that. which is why i wrote about that route to finding "the
> right bibstyle" in the faq.
>
> this idea of writing commas between authors is insidious because it
> seems such common sense. it's important to point out the user's error
> as soon as possible, or they're going to conclude that bibtex is
> perfectly useless.

(make note to self: do not post after midnight)

Question to the original poster: did the answers provided here solve
your problem?

> [me, i don't think it's useless, but i feel sure it must be possible
> to do it some other way. all these little booby traps are getting
> boring, after getting on for 15 years of bibtex 0.99.]

BibTeX 0.99 must be one of teh longer running gags out there.

Other things: RIS is too unstable/cumbersome; DocBook XML combined with
the correct XSLT transforms may do the trick, but I doubt writing those
XSLT's is going to be more fun than writing bst files.

Maarten

0 new messages