0

我想从 Rmd 脚本(r markdown)生成一个 pdf 文件,所以我安装了 Pandoc,在安装指南中,它说:对于 PDF 输出,你需要 LaTeX。我们推荐安装 TeX Live。所以我从他们的网站下载了Tex Live

(我必须将它安装在特定目录中,以便我可以使用环境模块系统加载它)

然后我这样做了:

$: tar xf texlive-20190408-source.tar.xz
$: cd texlive-20190408-source
$: sudo ./configure --prefix=$path --enable-build-in-source-tree
$: make 
configure: error: Sorry, you will need at least the Xaw header/library files to compile xdvik.
=== configuring in xdvik failed
make[2]: *** [recurse] Error 1
make[2]: Leaving directory `/Downloads/texlive-20190408-source/texk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Downloads/texlive-20190408-source/texk'
make: *** [all-recursive] Error 1
4

0 回答 0