I am new to LaTeX. All similar questions I have found so far could be resolved by using biblatex with biber. But this does not work for me.
I have an entry in my .bib file with utf-8 characters. It causes a compile error (everything works again when I remove the entry or only the entry's abstract).
This is what I have in my settings.tex
\usepackage[
backend=biber,
style=apa,
]{biblatex}
\addbibresource{references.bib}
And in my main.txt I use
\printbibliography
I am working on overleaf with the XeLaTeX compiler.
This is the entry in my .bib file:
@techreport{Bybee_et_al_2020,
title = "The Structure of Economic News",
author = "Bybee, Leland and Kelly, Bryan T and Manela, Asaf and Xiu, Dacheng",
institution = "National Bureau of Economic Research",
type = "Working Paper",
series = "Working Paper Series",
number = "26648",
year = "2020",
month = "January",
doi = {10.3386/w26648},
URL = "http://www.nber.org/papers/w26648",
abstract = {We propose an approach to measuring the state of the economy via textual analysis of business news. From the full text content of 800,000 Wall Street Journal articles for 1984\{2017, we estimate a topic model that summarizes business news as easily interpretable topical themes and quantifies the proportion of news attention allocated to each theme at each point in time. We then use our news attention estimates as inputs into statistical models of numerical economic time series. We demonstrate that these text-based inputs accurately track a wide range of economic activity measures and that they have incremental forecasting power for macroeconomic outcomes, above and beyond standard numerical predictors. Finally, we use our model to retrieve the news-based narratives that underly “shocks” in numerical economic data.},
}
The abstract does not contain any unescaped %s.
The error message (line 44 is where the next entry in my .bib file starts):
BibTeX subsystem: /tmp/biber_tmp_mXit/33e59b5ca9ec342068223d604c3f8d55_13.utf8, line 44, syntax error: found "@article", expected end of entry ("}" or ")") (skipping to next "@")
biblatex) or from Biber. If it comes from Biber, it is possible that the encoding is somehow not recognised correctly. If the error is on the LaTeX side of things, encoding could also be an issue, but it could also be the contents of your field (as Ulrike says, unescaped%s are often an issue). As David says, generallybiblatex+Biber can deal just fine with UTF8, provided everything is set up correctly. – moewe Jan 03 '23 at 12:38.bibfile to your question, without that it is not really possible to suggest solutions. – Marijn Jan 03 '23 at 13:36"..."and{...}odd). – moewe Jan 03 '23 at 13:41%s. – Tim Jan 03 '23 at 13:42abstractfield of the entry, so it would help if you can show the contents of that field in full. – Marijn Jan 03 '23 at 13:46"or}) somewhere above a@articleelement. Instead of deleting the actual data, why not simply post the actual bib data. – daleif Jan 03 '23 at 13:46@techreportis causing the error. Removing it or its abstract also removes the error. The@articlementioned in the error message is the next entry in the .bib file. – Tim Jan 03 '23 at 13:48