i get an error when i try to compile my document and it drives me crazy. I have a lot of citations from a bib file, and i always get the Error listed above which (how i understand it) means i have thin spaces in my bib file, but i cant figure out where they are supposed to be and the file is too large to check every space. I already corrected any present ä, ö, ü etc., so it has to be a problem with the spaces. I copied the bib-references with a citation tool directly from the articles, maybe that's the problem? But it seems idiotic to me to write the citations myself.
Here's the Error again: Error: ! Package inputenc Error: Unicode char   (U+2009)(inputenc) not set up for use with LaTeX.See the inputenc package documentation for explanation.Type H for immediate help.... ...bliography[heading=bibempty,type=article]
I have run it many times through biber (which gives me no errors), deleted aux, bbl and bcf files, checked the bib file many times for odd spacings to figure out where those thin spaces are, but i could not find the error.
What is the best solution for this problem?
I dont know how to make a proper MWE with the huge bib file of over 1000 lines, sry. Here are the packages i use:
\documentclass[12pt,fleqn,xcolor=dvipsnames]{book}
\usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]{geometry} % Page margins
\usepackage[table]{xcolor}
\usepackage{graphicx}
\graphicspath{{Pictures/}}
\usepackage{tikz}
\usepackage[english,german]{babel}
\usepackage{enumitem}
\usepackage{avant}
\usepackage{mathptmx}
\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=numeric,citestyle=numeric,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex}
\usepackage{titletoc}
\usepackage{fancyhdr}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\begin{document}
\end{document}
I also have notations (with %) in my bib File to know which lines of the articles i cited. Could this cause the problems? For Example:
%[ab] In patients with NYHA class II or III CHF and LVEF of 35 percent or less, amiodarone has no favorable effect on survival, whereas single-lead, shock-only ICD therapy reduces overall mortality by 23 percent.
@article{doi:10.1056/NEJMoa043399,
author = {Bardy, Gust H. and Lee, Kerry L. and Mark, Daniel B. and Poole, Jeanne E. and Packer, Douglas L. and Boineau, Robin and Domanski, Michael and Troutman, Charles and Anderson, Jill and Johnson, George and McNulty, Steven E. and Clapp-Channing, Nancy and Davidson-Ray, Linda D. and Fraulo, Elizabeth S. and Fishbein, Daniel P. and Luceri, Richard M. and Ip, John H.},
title = {Amiodarone or an Implantable Cardioverter-Defibrillator for Congestive Heart Failure},
journal = {New England Journal of Medicine},
volume = {352},
number = {3},
pages = {225-237},
year = {2005},
doi = {10.1056/NEJMoa043399},
note ={PMID: 15659722},
URL = {https://doi.org/10.1056/NEJMoa043399},
eprint = {https://doi.org/10.1056/NEJMoa043399}
}
\DeclareUnicodeCharacter{2009}{XXXX here is the little bugger XXXX}
and then search your compiled document forXXXX
to locate the problematic space. (As far as I can see, the problem does not come from the example reference.)\DeclareUnicodeCharacter{2009}{\,}
to declare the thin space as a thin space if you want the error to go, or\DeclareUnicodeCharacter{2009}{FIXME}
if you just want to see where they are and delete them. Note the full error message (which you do not show) does show the exact location in the file where the character is.