[Tex/LaTex] BibTex problem with multiple names in author field despite using “and”

bibtex

I'm new to StackExchange!

I have this document:

\documentclass[a4paper,12pt,oneside,italian]{book}
\usepackage[utf8]{inputenc}
\usepackage{url}

\begin{document}

Questa è una citazione \cite{Citation}.

\bibliographystyle{plain}
\bibliography{biblio}
\end{document}

And this bibliography:

@misc{Citation,
author = "Daniele Vietri and Francesca Castelli",
title = "M-commerce in Italia",
howpublished = {\url{http://www.dblog.it/ecommerce/}},
year = {2012},
note = {[accesso: Marzo 2013]}
}

Why do I get the following output? It's making me crazy…

enter image description here

I would like to have a comma in place of "and".

And why the first letter of the word "Italia" in the title becomes lower-case?

Best Answer

You are specifying

\bibliographystyle{plain}

which in turn specifies that lists of names should be formatted by this readable bit of code:

FUNCTION {format.names}
{ 's :=
  #1 'nameptr :=
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
      nameptr #1 >
        { namesleft #1 >
            { ", " * t * }
            { numnames #2 >
                { "," * }
                'skip$
              if$
              t "others" =
                { " et~al." * }
                { " and " * t * }
              if$
            }
          if$
        }
        't
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

somewhere in the middle of that you will see it adds , or and or et al depending on the number of names left in the list.

You could tinker with that, although you should not change the default file, or more easily find another bibtex style that does what you want. (perhaps use the makebst package to make one). You need to decide what you want to do for lists of length 0,1,2,3 and more than N for some N.

You want a, b not a and b but what do you want for a list of three, the normal choices are either a, b, and c or a, b and c but perhaps you want a, b, c (If you do want that you can just change and in a copy of the above to , I think.