BibTeX, biblatex and biber[plaindin] seperate autors not with semicolons

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
sempah
Posts: 5
Joined: Mon Nov 08, 2010 8:49 pm

[plaindin] seperate autors not with semicolons

Post by sempah »

How can I seperate more autors with an , and an "and"

My result looks like:

Code: Select all

[1] Autor1 ; Autor2 ; Autor3: Title.
(1999). http://url.com/index.html
What do I have to change to get something like this:

Code: Select all

[1] Autor1, Autor2 and Autor3: Title.
(1999). http://url.com/index.html
my bibtex file:

Code: Select all

@article{desc1999,
   author = {Autor1 and Autor2 and Autor3},
   title = {Title},
   publisher = {Prentice Hall},
   year = {1999},
   url = {http://url.com/index.html}
} 

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

[plaindin] seperate autors not with semicolons

Post by frabjous »

This sort of thing is determined by your bibliography style (.bst) file. You didn't mention which one you were using, or whether or not you could switch to another one. Please always try to produce a complete minimal working example allowing the problem to be duplicated.

Edit: just realized the "plaindin" was supposed to be an answer to this, perhaps? Is there some reason you are required to use plaindin?
sempah
Posts: 5
Joined: Mon Nov 08, 2010 8:49 pm

[plaindin] seperate autors not with semicolons

Post by sempah »

no plaindin is not required, but I need a numeric order and this result (except the semicolons) looks great for me:

Code: Select all

[1] Autor1 ; Autor2 ; Autor3: Title.
(1999). http://url.com/index.html
Here is the minimal example:

Code: Select all

\documentclass[12pt, a4paper]{report} 
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}

\begin{document}

Test\cite{Lindholm1999}

	\bibliographystyle{plaindin}
 	\bibliography{T987}	

\end{document}
bibtex file:

Code: Select all

@article{Lindholm1999,
	author 		= {Tim Lindholm and Frank Yellin and Max Muster},
	title 		= {The Java(tm) Virtual Machine Specification},
	publisher = {Prentice Hall},
	year 			= {1999},
	url 			= {http://www.blub.com/index.html}
}
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: [plaindin] seperate autors not with semicolons

Post by frabjous »

Have you tried simply using the plain style instead of plaindin? Or is there something you don't like about it?
sempah
Posts: 5
Joined: Mon Nov 08, 2010 8:49 pm

[plaindin] seperate autors not with semicolons

Post by sempah »

Yes, I tried it, but the result looks like:

Code: Select all

[1] Tim Lindholm and Frank Yellin. The java(tm) virtual machine specication. 1999.
- no url
- and the title is lowercase
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

[plaindin] seperate autors not with semicolons

Post by frabjous »

To solve the url issue, you could use the plainurl style:

Code: Select all

\documentclass[12pt, a4paper]{report}

\begin{document}

Test\cite{Lindholm1999}

   \bibliographystyle{plainurl}
   \bibliography{sample}

\end{document}
For the uppercase issue, it's usually good practice to put an extra set of braces around any words in your bib file titles you want to ensure are uppercase:

Code: Select all

@article{Lindholm1999,
   author       = {Tim Lindholm and Frank Yellin and Max Muster},
   title       = {The {J}ava(tm) {V}irtual {M}achine Specification},
   publisher = {Prentice Hall},
   year          = {1999},
   url          = {http://www.blub.com/index.html}
}
plainbib.png
plainbib.png (6.29 KiB) Viewed 5168 times
sempah
Posts: 5
Joined: Mon Nov 08, 2010 8:49 pm

Re: [plaindin] seperate autors not with semicolons

Post by sempah »

Thx for your help.
Okay this is a nice workaround to solve my problems.
But isn't there a native way to solve it?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

[plaindin] seperate autors not with semicolons

Post by frabjous »

What do you mean by a "native way"? Do you mean, while using plaindin? I don't think so; you'd have rewrite the relevant part of plaindin.bst. I don't know how to do that off-hand, but if you wanted to give it a try, you could read Tame the BeaST.

If you really want control over your Bibliography styles, you could also consider switching from BibTeX to BibLaTeX.
sempah
Posts: 5
Joined: Mon Nov 08, 2010 8:49 pm

[plaindin] seperate autors not with semicolons

Post by sempah »

Hmm, I changed the bibtex style to plainurl, but recognized something ...

my output:

Code: Select all

[24] Tim Lindholm and Frank Yellin. The java(tm) virtual machine specication.
1999. Available from: http://java.sun.com/docs/books/jvms/second_edition/html/VMSpecTOC.doc.html [cited 13.09.2010].
cited is the result auf "lastchecked" in my bibtex.

1. I don't want "available from: ..." -> with plaindin the url will be formatted in another font.
2. The last checked date will be displayed as "Abruf: 13.09.2010"
Post Reply