分页: 1 / 1

rstudio + rmarkdown + tex live + 中文

发表于 : 2016-08-12 18:25
adempewolff
我想要用rstudio的rmarkdown导出具有中文字体的PDF,但不知道如何装配texlive。

安装texlive和texlive-lang-cjk以后,当用rstudio导出PDF的时还是出错.

代码: 全选

sudo apt-get install texlive-base texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-lang-cjk

代码: 全选

! Package inputenc Error: Unicode char 定 (U+5B9A)
(inputenc)                not set up for use with LaTeX.
有没有人知道怎么办?