I have already tried by middle of the following questions:
- Problem with biber: file.bcf is malformed
- Bbl file not generated
- Malformed bcf file not recreated by latexmk after error
- biber generate empty bbl file
I use:
- Manjaro Linux
- XeTeX 3.14
- Biber 2.12
- Class abnetx2
- Package biblatex-abnt
The version of bibtex: BibTeX 0.99d (TeX Live 2018/Arch Linux)
I ran like:
xelatex -synctex=1 -halt-on-error --shell-escape artigo.tex biber artigo.tex I also tried to run biber referencias.
It did not generate the bbl file.
Here is the code:
\documentclass[11pt, article, a4paper, oneside, sumario=tradicional, chapter=TITLE, section=TITLE, subsection=Title, subsubsection=title, subsubsubsection=title, english, german, greek, portuguese]{abntex2} \usepackage{babel} \usepackage[backend = biber, dateabbrev = false, giveninits, ittitles, justify, language = brazil, sorting = none, style = abnt, url = true]{biblatex} \addbibresource{referencias.bib} \begin{filecontents}{referencias.bib} @article{antonioleitao, Address = {Campinas}, author = {Antonio Leitão}, date = {1996-10-08}, Publisher = {UNICAMP}, title = {Funções Recursivas}, url = {http://www.dca.fee.unicamp.br/courses/EA072/lisp9596/node17.html}, urldate = {2018-11-03} } \end{filecontents} \begin{document} \selectlanguage{brazil} \frenchspacing \maketitle \begin{resumoumacoluna} \vspace{\onelineskip} Blablabla \noindent \textbf{Palavras-chave}: \end{resumoumacoluna} \renewcommand{\resumoname}{Abstract} \begin{resumoumacoluna} \begin{otherlanguage*}{english} \vspace{\onelineskip} Blablabla \noindent \textbf{Keywords}: \end{otherlanguage*} \end{resumoumacoluna} \printbibliography \end{document} The xetex error log:
\myptabbox=\box87 \myptabboxwidth=\skip292 Package biblatex Info: XeTeX detected. (biblatex) Assuming input encoding 'utf8'. Package biblatex Info: Automatic encoding selection. (biblatex) Assuming data encoding 'utf8'. \openout4 = `artigo.bcf'. Package biblatex Info: Trying to load bibliographic data... Package biblatex Info: ... file 'artigo.bbl' not found. No file artigo.bbl. Package biblatex Info: Reference section=0 on input line 380. Package biblatex Info: Reference segment=0 on input line 380. Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 380. The biblatex error log:
[0] Config.pm:304> INFO - This is Biber 2.12 [1] Config.pm:307> INFO - Logfile is 'artigo.blg' [39] biber:315> INFO - === Wed Dec 12, 2018, 18:22:11 [61] Utils.pm:209> ERROR - artigo.bcf is malformed, last biblatex run probably failed. Deleted artigo.bbl [62] Biber.pm:114> INFO - ERRORS: 1 I also have checked:
biber --cache No cache - you are not running the PAR::Packer executable version of biber 
\cite{antonioleitao}to the example and compile with XeLaTeX, Biber, XeLaTeX, XeLaTeX I get the expected output.biber artigo.texis the wrong call, it must bebiber artigowithout file extension (of if you insist on extensionsbiber artigo.bcf). I do not get the Info aboutlastpagein my log file. Is the.logyou have shown us from the code example? Delete all temporary files and try again. If it still does not work, please upload the.bcffile to pastebin.com.bcfis malformed: it is missing important parts. This should not happen. Is that the.bcfyou get from the exact MWE you posted? Please verify that in a new, empty directory. Please upload the complete.logfile of the first XeLaTeX run on your file in the empty directory..logdoes not come from the code you have shown us in the question. The.logshows that you loadcsqoutes, but the MWE does not load it (there are a few more packages like this). Please always make sure that the code you show and the.logfiles are about the same thing. Anyway, the.logclearly mentions an error:./artigo.tex:384: Undefined control sequence. <recently read> \theforeigntitle. This error aborts compilation and leaves the.bcfin an unfinished state. Fix this error (and all other errors that occur and try again).