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
> 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
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
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
Ohio State University
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
> "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.
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 <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