Error when rendering Greek letters

When rendering a Rmarkdown file with Greek letters into pdf I get errors similar to:

"! Package inputenc Error: Unicode char δ (U+3B4)
(inputenc) not set up for use with LaTeX."

I installed texlive-lang-greek but that does not solve the problem. Please, see an example below.

---
output: pdf_document
---

δυναμική λοyοδοσία όσον αφορά την κλινική εκπαίδευση και εποπτεία: τρία ιδανικά προσανατολισμού

My approach has been to gsub the offending characters, but there must be a way to render them...

Thanks!

When dealing with Unicode characters, you'd better try xelatex instead of the default pdflatex. See Section 3.3.7.1: https://bookdown.org/yihui/rmarkdown/pdf-document.html#advanced-customization-1

5 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.