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

biblatex disorder

25 views
Skip to first unread message

David

unread,
May 23, 2013, 2:34:46 AM5/23/13
to
I'm having some problems with bibliography ordering. I've chosen ordering=nyt but I have two entries that always appear first and I can't seem to do anything about it. MWE follows:

\documentclass[12pt,a4paper]{article}

\usepackage[
style=authoryear,
bibstyle=authoryear,
citestyle=authoryear,
natbib=true,
backend=biber,
bibencoding=utf8,
sorting=nyt
]{biblatex}

\bibliography{ema.bib}
\nocite{areader}
\nocite{ait}

\begin{document}
bla bla \parencite[443]{barber}
\clearpage
\printbibliography[title={Bibliography}]
\end{document}

And my .bib file:

@INCOLLECTION{barber,
author = {Barber, F.},
title = {Surrealism 1924-1929},
booktitle = {Art of the Avant-Gardes},
publisher = {Yale University Press in association with the Open University},
year = {2004},
address = {London},
editor = {Edwards, S. and {\relax Wood, P.}},
owner = {david},
quality = {1},
timestamp = {2013.02.17}
}

@BOOK{areader,
title = {Art of the Twentieth Century, A Reader},
publisher = {Newhaven and London, Yale University Press in association with The
Open University},
year = {2003},
author = {Gaiger, J. and {\relax{Wood, P.}}},
key = {areader},
owner = {david},
quality = {1},
timestamp = {2013.02.20}
}

@BOOK{ait,
title = {Art in Theory 1900-2000: An Anthology of Changing Ideas},
publisher = {Malden, Oxford and Victoria, Blackwell Publishing},
year = {1986},
author = {Harrison, C. and {\relax Wood, P.}},
key = {aitrose},
owner = {david},
quality = {1},
timestamp = {2013.02.12}
}

Things that I've tried so far:

\parencite at the end on a blank page instead of \nocite in preamble
Changing the entry type to inbook, incollection
sorting=none and trying to put in \nocites in order

Anyone have any ideas?

David

unread,
May 23, 2013, 2:37:36 AM5/23/13
to
The result is that the two book entries always come first and it's not every book that does it, just these two.

Denis Bitouzé

unread,
May 23, 2013, 3:19:05 AM5/23/13
to
Le mercredi 22/05/13 à 23h34,
David <slac...@gmail.com> a écrit :

> Anyone have any ideas?

Probably because of 'key' field used by natbib to modify the sorting
order of the bibliography (same as 'sortkey' in biblatex).

Here is a MWE that gives the expected result (see how it has been
minimized and made self content thanks to filecontents and its
filecontents* environment):

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@INCOLLECTION{barber,
author = {Barber, F.},
title = {Surrealism 1924-1929},
booktitle = {Art of the Avant-Gardes},
publisher = {Yale University Press in association with the Open
University},
year = {2004},
address = {London},
editor = {Edwards, S. and Wood, P.},
owner = {david},
quality = {1},
timestamp = {2013.02.17}
}
@BOOK{areader,
title = {Art of the Twentieth Century, A Reader},
publisher = {Newhaven and London, Yale University Press in
association with The Open University},
year = {2003},
author = {Gaiger, J. and Wood, P.},
owner = {david},
quality = {1},
timestamp = {2013.02.20}
}
@BOOK{ait,
title = {Art in Theory 1900-2000: An Anthology of Changing Ideas},
publisher = {Malden, Oxford and Victoria, Blackwell Publishing},
year = {1986},
author = {Harrison, C. and Wood, P.},
owner = {david},
quality = {1},
timestamp = {2013.02.12}
}
\end{filecontents*}

\usepackage[
style=authoryear,
natbib=true,
backend=biber,
sorting=nyt
]{biblatex}

\bibliography{\jobname.bib}
\nocite{areader}
\nocite{ait}

\begin{document}
\autocite[443]{barber}
\printbibliography
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
Denis

Ulrike Fischer

unread,
May 23, 2013, 3:29:39 AM5/23/13
to
Am Wed, 22 May 2013 23:34:46 -0700 (PDT) schrieb David:

> I'm having some problems with bibliography ordering. I've chosen
> ordering=nyt but I have two entries that always appear first and
> I can't seem to do anything about it. MWE follows:

> key = {areader},
> key = {aitrose},

You are using the field key. This is an alias for sortkey:

"An alias for sortkey, provided for BibTeX compatibility".


--
Ulrike Fischer
http://www.troubleshooting-tex.de/
0 new messages