rstudio + rmarkdown + tex live + 中文

其它类软件,非上述版软件
回复
adempewolff
帖子: 1
注册时间: 2016-08-12 18:07
系统: Ubuntu 16.04

rstudio + rmarkdown + tex live + 中文

#1

帖子 adempewolff » 2016-08-12 18:25

我想要用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.
有没有人知道怎么办?
回复