1

Is it possible to mix two different languages in the same bibliography made with Biblalex?

I would like to get this output: Expected output

Instead of this: Result

I have tried using langid field, but it localizes only hyphenation.

paper.tex:

\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\usepackage[backend=biber, style=alphabetic]{biblatex}
\bibliography{biblio}

\begin{document} 
\cite{paperES, paperEN}
\printbibliography
\end{document}

biblio.bib:

@article{paperES,
    author={Adan Cruz and Brisa Carmelo},
    title={Titulo},
    journal={Título de la revista},
    year={2011},
    volume={IV},
    pages={8-17},
    langid={spanish},
} 

@article{paperEN,
    author={John Smith and James Brown},
    title={Title},
    journal={Journal title},
    year={2012},
    volume={V},
    pages={3-15},
    langid={english},
}

Any hints would be appreciated.

niekas
  • 499
  • 1
    Why do you want to do this? Apart from titles, the language of the bibliography should be the same as the language as the text of the paper you are writing. Is there any actual journal or style guide that requires this? – Alan Munn Feb 04 '15 at 19:59
  • This is a strange requirement for bibliography in my university. I need to use and, In with English and y, En with the Spanish articles. – niekas Feb 04 '15 at 20:02
  • 4
    Amazing. Universities can be the most ridiculous institutions at times. So if you had Hebrew and Japanese articles, would they also require Hebrew and Japanese version of 'and' and 'in' too? What country is this in? – Alan Munn Feb 04 '15 at 20:07
  • @AlanMunn Thank you, I'll pass this on to my department. I'd prefer not to tell which country it is. – niekas Feb 04 '15 at 20:14
  • @niekas - Just ask your department what you should do if your bibliography has entries written in English, Spanish, German, Danish, Greek, Hebrew, Japanese, Chinese, and Thai... :-) – Mico Feb 04 '15 at 20:17
  • 1
    Anyway, this is a duplicate of biblatex: per-entry language switching. Just add \setotherlanguage{spanish} after you set the main language and in your biblatex options add babel=other. – Alan Munn Feb 04 '15 at 20:19
  • Package biblatex Warning: 'babel' option is deprecated, use 'autolang' instead. I was reading BibLaTeX v1.9 documentation, but Ubuntu package manager installed BibLaTeX v1.8. – niekas Feb 05 '15 at 10:43
  • 1
    You may want to replace the Ubuntu-provided TeX Live with the current upstream release: How to install “vanilla” TeXLive on Debian or Ubuntu? -- Ubuntu's and Debian's goal with a release is to keep packages predictable and consistent for years rather than introduce major new versions and the potential for variation in their install base. – Mike Renfro Feb 05 '15 at 14:51

0 Answers0