R--在linux下解决texlive缺少.sty问题

Many thanks to Homer White's blog for sending me in the right direction. I'm more or less posting his answer verbatim, with minor modifications for RHEL 6.5 and 2014 LiveTex.

Even the full manual install had not solved the problem. Following Homer's advice, I downloaded from the internet a copy of ifluatex.sty You can get it either directly or via wget from the CTAN archive.

wget http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ifluatex.dtx
tex ifluatex.dtx

Copy the resulting file into the shared folder for your LaTeX Distribution. In RHEL 6/CentOS for the 2014 LiveTex distribution installed via install-tl this was:

/usr/share/texmf/tex/generic/oberdiek

Easy, right? Next step was to get the framed package:

wget http://mirrors.ctan.org/macros/latex/contrib/framed.zip
unzip framed.zip 

This should create a folder in the download location. Now copy the entire folder to the Shared LiveTeX folder for LaTeX:

/usr/share/texmf/tex/latex

Finally, let LiveTeX know it should update its library by running

texhash
转载地址:http://stackoverflow.com/questions/25148055/rstudio-server-on-rhel-6-5-pandoc-error-ifluatex-sty-not-found
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值