Spanish bibliography

I've written my bibliography as a standard bib entry; e.g.:

@ARTICLE{Imanishi1960,
AUTHOR="Kinji Imanishi",
TITLE="Social Organization of Subhuman Primates in Their Natural Habitat",
JOURNAL="Current Anthropology",
VOLUME="1",
ISSUE="5",
PAGES="393--407",
YEAR="1960",
}


However, I wish the bibliography to be printed in Spanish, not English. I understand I need to use the biblatex package, and I've done so. Here is a copy of my preamble:

\documentclass[notitlepage]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{textcomp}
\usepackage[multiple]{footmisc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{breakcites}
\usepackage[fixlanguage]{babelbib}
\selectbiblanguage{spanish}
\setbtxfallbacklanguage{spanish}
\setcounter{section}{-1}
\title{El animalismo es un humanismo}
\author{Javier García-Salcedo \textemdash{ Ana Amezcua Ferrer}}
\date{Agosto 2016}
\begin{document}
...
\end{document}


However, after a couple of compilations, the language of my bibliography is still being English--e.g. the computer prints "Bekoff, M. and Pierce, J." au lieu de "Bekoff, M. y Pierce, J.", etc.

What am I doing wrong?? Thanks in advance!

• You're not actually using biblatex, but the babelbib package, which uses standard bibtex. Since I think it's a good idea to use biblatex perhaps you should look at biblatex in a nutshell (for beginners). – Alan Munn Aug 2 '16 at 4:26
• What a fool. You're right. I've been looking through the link you posted, learning a lot. Thanks for your feedback, @AlanMunn. – Javier García-Salcedo Aug 3 '16 at 2:46

The problem is that your document is not actually using biblatex. But I think it's a good idea to use, so here's a basic example document showing you how to do this. You should also take a look at:

The following document needs to be compiled with pdflatex and then biber (not bibtex) and then pdflatex again.

Please note that I have included a couple of .bib items in the source file to make the file self-contained so that it doesn't depend on reference to a .bib file specific to my (or your) setup. In practice, you wouldn't do this, but you would have a separate .bib file named however you like. The use of \jobname.bib is also only part of making a self-contained example; it ensures that the file generated by this example document is unlikely to overwrite any other file on your system.

\begin{filecontents}{\jobname.bib}

@incollection{VelazquesCastillo2005,
Address = {Mexico City and Quer{\'e}taro},
Author = {Vel{\'a}zquez Castillo, M.},
Booktitle = {Dimensiones del Aspecto en Espa{\~n}ol},
Pages = {173-193},
Publisher = {Universidad Nacional Aut{\'o}noma de M{\'e}xico and Universidad Aut{\'o}noma de Quer{\'e}taro},
Title = {Aspecto Verbal en el Espa{\~n}ol Paraguayo: Elementos del Sustrato},
Year = {2005}}

@article{VelazquesCastilloHudgens2013,
Author = {Vel{\'a}zquez Castillo, M. and Hudgens, M.},
Journal = {Journal of Pidgin and Creole Languages},
Number = {1},
Pages = {65-102},
Title = {Quiero para mi novio. Aspectual uses of \emph{para} in {Paraguayan Spanish}},
Volume = {28},
Year = {2013}}
}
\end{filecontents}
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage[style=authoryear]{biblatex}
\usepackage{csquotes}
\begin{document}
\textcite{VelazquesCastillo2005,VelazquesCastilloHudgens2013}
\printbibliography
\end{document}


• Thanks again! I currently use Miktex as editor and compiler (I'm really a newbie concerning Latex so please, if I say something that makes no sense, be charitable!). As far as I can see, 'Miktex' does not have 'biber'. Does this mean that I have to check on the web for another Tex editor? – Javier García-Salcedo Aug 3 '16 at 2:52
• @JavierGarcía-Salcedo MikTeX is a distribution, not an editor, and it certainly comes with biber. This question should help orient yourself about all the various components of using LatTeX: What TeX software to write technical papers with?. So you need to figure out how to use biber with the editor you are using. Here's a question that should help on that: Biblatex with Biber: Configuring my editor to avoid undefined citations – Alan Munn Aug 3 '16 at 3:16
• I have a doubt, though, concerning your document. I can see the bibliographic info is included before the specification of the document class. Does this mean that, in order to use biblatex, I must not create a separate .bib file--that my bibliography need to be placed before the \documentclass command? – Javier García-Salcedo Aug 3 '16 at 19:06
• @JavierGarcía-Salcedo No, not at all. This is just a way to include a file in an example document. You would not do this in practice, but would have a separate .bib file. Sorry, I should have mentioned that in the answer. And the use of \jobname.bib is so that the file chosen is dependent on whatever you save the source file as, which helps prevent overwriting an existing file. Again, you wouldn't do that in your actual document. – Alan Munn Aug 3 '16 at 19:07
• @JavierGarcía-Salcedo Since I think this answer solved your problem, it's helpful also to "Accept" it by clicking on the checkmark below the voting arrows. – Alan Munn Aug 3 '16 at 19:18

The only thing you need to do, is to add language={spanish} inside every bibliography item in your .bib-file. For example:

@article{Aguilar2011,
author =       "A Aguilar and M Vicarelli",
title =        "El Niño and Mexican children: Medium-term effects of early-life weather shocks on cognitive and health outcomes",
journal =      "",
volume =       "",
number =       "",
pages =        "",
year =         "2011",
url =          "",
note =         "Working paper"
language = {spanish}
}