I'm trying to compile the following LaTeX code:
% !TEX encoding = UTF-8 Unicode
\documentclass[12pt,a4paper]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[english, brazil]{babel}
\usepackage{amsfonts} % for mathbb
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[backend=bibtex,style=authoryear,sorting=nyt]{biblatex}
\addbibresource{Neural_Assemblies_Report.bib}
\begin{document}
\frontmatter
\tableofcontents*
\mainmatter
\chapter{Test}
Test. \cite{Maass}.
\backmatter
\printbibliography
\end{document}
I get the following error:
(...lots of log stuff...)
("C:\Program Files\MikTeX\tex\latex\biblatex\biblatex.cfg")))
("C:\Program Files\MikTeX\tex\latex\biblatex\lbx\brazil.lbx"
("C:\Program Files\MikTeX\tex\latex\biblatex\lbx\brazilian.lbx"
Runaway argument?
{bibliography = {{Bibliografia}{Bibliografia}}, references = {{Refer\^\ETC.
! Paragraph ended before \DeclareBibliographyStrings was complete.
<to be read again>
\par
l.454
?
To me, it looks like biblatex is choking on the brazilian portuguese stuff, but all docs say it's fully compatible.
Which config should I change to make biblatex work with brazilian portuguese?
My environment is MiKTeX with TeXworks, my bibtex file is:
@article{Maass,
author = "Wolfgang Maass",
title = "Networks of Spiking Neurons: The Third Generation of Neural Network Models",
journal = "Neural Networks",
language = "english",
year = 1997,
volume = 10,
number = 9,
pages = "1659--1671"
}
EDIT: Tried with all available backends for biblatex. Same error. MiKTeX version is 2.9.4196.
backend=bibtex
and running Biber, instead of BibTeX? In any case, the.bib
extension should be added to the argument of\addbibresource
.\DeclareBibliographyStrings
-command of brazilian.lbx there is an empty line or a braces missing. I don't have any problems in a current miktex so check for updates (as admin + users) and reinstall biblatex if necessary. If the problem persist make the lbx and the log-file (not the terminal output!) available somewhere.