Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I wonder how I can get a proper sorting of names in the bibliography.

In the following example, "von Beethoven" is at the position "v", but it should be sorted as "Beethoven" under "B".

\documentclass{scrbook}

\begin{filecontents*}{mybib4.bib}

@MISC{Volkmann,
  author = {Volkmann, Albert},
  title = {title},
  year = {2005},
}

@MISC{vonBeethoven2005,
  author = {von Beethoven, Ludwig},
  title = {title},
  year = {2005},
}

@MISC{Caesar,
  author = {Caesar, Gaius J.},
  title = {title},
  year = {2005},
}

\end{filecontents*}

\usepackage[color, draft]{showkeys} %Einblenden der Referenznamen in den Arbeitsversionen
\renewcommand*\showkeyslabelformat[1]{\fbox{\normalfont\tiny\ttfamily#1}} 
\definecolor{refkey}{cmyk}{0.26,0,0.76,0}%{gray}{0.5} 
\definecolor{labelkey}{cmyk}{0.26,0,0.76,0}%{gray}{0.5}
\definecolor{grau}{gray}{0.5}

\usepackage[natbib=true, style=numeric-comp, backend=bibtex8, defernumbers, useprefix, maxnames=99, maxcitenames=3]{biblatex}  % f¸r bessere Literaturverzeichnisse
\renewcommand{\bibfont}{\normalfont\small}
\renewcommand\multicitedelim{\addsemicolon\space}


\usepackage{csquotes} 

\bibliography{mybib4}

\begin{document}

citeauthor: \citeauthor{vonBeethoven2005} 

Citeauthor: \Citeauthor{vonBeethoven2005}

\cite{vonBeethoven2005}

\nocite{*}
\printbibliography

\end{document}
share|improve this question
    
You could add sortname={Beethoven} to your bib entry. But maybe there even is an automated solution? –  matth Jan 3 '12 at 16:51
7  
I hope that this question marks the beginning of a surge in your accept rate. ;-) –  lockstep Jan 3 '12 at 17:27
6  
Just to be entirely correct, the composer and pianist was Ludwig van Beethoven. –  Harold Cavendish Jan 3 '12 at 17:28
10  
He must be talking about a different Beethoven: the Ludwig von Beethoven, author of the famous work "title" from 2005 –  Seamus Jan 3 '12 at 18:32
    
@Seamus I actually typed it into Google before realising that it was a joke. :-D (I did not read the MWE before commenting.) –  Harold Cavendish Jan 3 '12 at 19:23

3 Answers 3

up vote 20 down vote accepted

Don't forget that many options in biblatex/biber are per-entry so you can just add:

OPTIONS = {useprefix=false}

to the entry. Table 2 in the Biber manual and Appendix C of the BibLaTeX manual detail which options have which scope - with Biber, many options can have global, per-entrytype or per-entry scope. This actually makes quite a few surprising things possible.

share|improve this answer

The useprefix option just tells biblatex that "von" must be considered as part of the last name for citing and sorting.

\usepackage[natbib=true, style=numeric-comp,
  backend=bibtex8, defernumbers,
  % useprefix, % <- von is part of last name with this option
  maxnames=99, maxcitenames=3]{biblatex}

(Page 60 of the manual.)

share|improve this answer

You could simply omit the useprefix option -- and this will also produce "Beethoven" instead of "von Beethoven" in citations (as it should for the sake of consistency). To sort the composer under "Beethoven" and at the same time use the prefix when citing, keep useprefix and add a sortkey field to the entry in your .bib file:

@MISC{vonBeethoven2005,
  author = {von Beethoven, Ludwig},
  sortkey= {Beethoven, Ludwig von},
  title = {title},
  year = {2005},
}

See also Biblatex, capitalization of arabic names and name prefixes.

share|improve this answer
2  
Is it really good style to keep "von" in citations and not using it for sorting? –  egreg Jan 3 '12 at 16:56
1  
The linked question about arabic names/name prefixes has taught me not to think about "style" too much when it comes to citing vs. sorting. –  lockstep Jan 3 '12 at 16:58
2  
Yes, but this is a German name in a German document. –  egreg Jan 3 '12 at 17:04
    
I'd try to be consistent, i.e. use "von" for both citing/sorting, or for none of them. However, inconsistency in this regard doesn't give me the creeps like, say, \doublespacing. :-) –  lockstep Jan 3 '12 at 17:08
2  
@Werner I'm suggesting to follow the main national style, at least for local people's names. It would be annoying for a reader not finding a name in the bibliography where it belongs according to the citation. –  egreg Jan 3 '12 at 17:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.