I am trying to print a bibliography using biblatex with English and Portuguese authors and titles, using AucTeX in emacs. But the result in Portuguese is wrong: Lus, Simes, deciso, faa instead of Luís, Simões, decisão, faça. I am using XeLaTeX with the following TeX file:
\documentclass{article}
\usepackage{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[main=english,portuguese]{babel}
\begin{filecontents*}{ToRead.bib}
@book{Simões2006,
address = {Lisboa},
author = {Simões, Luís},
publisher = {Routledge},
title = {Uma decisão que se faça},
year = {2006}
}
@book{Gilbert2007,
address = {London},
author = {Gilbert, John},
publisher = {Penguin},
title = {Give me that},
year = {2007}
}
\end{filecontents*}
\usepackage[backend=biber,style=authoryear,natbib=true]{biblatex}
\addbibresource{ToRead.bib}
\usepackage{url}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
inputencwith XeLaTeX. Instead load thefontspecpackage. See Using XeLaTeX instead of pdfLaTeX – Alan Munn Sep 20 '16 at 15:34inputenc, loadfontspecinstead. – moewe Sep 20 '16 at 15:37\usepackage{polyglossia} \setdefaultlanguage{english}– sbac Sep 20 '16 at 15:53