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=bibtexand running Biber, instead of BibTeX? In any case, the.bibextension should be added to the argument of\addbibresource. – egreg Jun 21 '14 at 21:35Same error.
– Lucas Soares Jun 21 '14 at 21:41biblatex2.9 etc.). Did you make sure your file is actually saved in UTF8 format and does not only pretend to. Maybe the language file is corrupted for some reason (the message strongly suggests that, there should be\parthere at all; but for some reason, LaTeX thinks there is one). Try re-installingbiblatex(and maybe babel). What happens if you try\printbibliography[title=\refname\bibname]? – moewe Jun 22 '14 at 06:08\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. – Ulrike Fischer Jun 22 '14 at 09:19