I have a slightly similar - but different - problem: I want to compile a pdf document in English in Rmarkdown, including a bibliography that contains names with "Umlaut" (for example, Pöge). I took care of "Umlaute" in the text, but as soon as I turn on the bibliography in YAML (bibliography: bibliographie.bib), I get the following error message in the R Markdown console
! Inputenc package error: Unicode character ̈ (U + 308) (inputenc) is not configured for use with LaTeX.
Rmarkdown creates a tex file and includes links ... now with "Umlauten". I can find and replace them manually in the tex file, and then the compilation will be successful, but I would prefer to find a solution in Rmarkdown.
My YAML header:
output: bookdown::pdf_document2: includes: in_header: header_2.tex bibliography: bibliographie.bib biblio-style: "apalike"
header_2.tex includes the package \ usepackage [utf8] {inputenc}.
To make sure I tried the same settings, but this time I included the link in YAML and the compilation worked like a miracle:
output: bookdown::pdf_document2: includes: in_header: header_2.tex references: - id: fenner2012a title: Five-click science author: - family: Fänner given: Martin container-title: Mature Materials volume: 11 URL: 'http://dx.doi.org/10.1038/nmatyyy' DOI: 10.1038/nmat3283 issue: 4 publisher: Mature Publishing Group page: 261-263 type: article-journal issued: year: 2012 month: 3 biblio-style: "apalike"
Can anyone point me in the right direction?
G. Ke source share