Reputation: 3929
I'm working on a brand new install of Linux Mint (19.2), a brand new install of RStudio, and a brand new install of texlive.
When I try to knit an Rmarkdown file in RStudio I get the error
! Package inputenc Error: Unicode char fi (U+FB01)
(inputenc) not set up for use with LaTeX.
It seems to be producing a ligature for the characters "fi" and the LaTeX is not able to read this. However, I don't know how to make it stop producing this ligature. I tried looking for other solutions and it led me to installing the newest version of texlive-full and running the init-usertree
. I tried then running install tlmgr inputenc
and it returned an error. I looked up the error, the recommendation was to set texlive to an earlier version. Then I run it again and get
tlmgr install: package inputenc not present in repository.
Even if I chase this error down, it seems like I won't be solving my problem because this doesn't seem like it will fix the ligature issue. I saw one recommendation to change the LaTeX typeset so I switched it from pdflatex to xelatex but that caused no change.
Upvotes: 2
Views: 92
Reputation: 26833
The translation from Rmd to tex should not add an explicit fi
ligature. Therefore, it is most likely that your Rmd
file already contains the ligature, probably as a result of a previous copy & paste.
Upvotes: 1