首页 > 解决方案 > 为 tint 包安装缺少的 *.sty

问题描述

我已经安装了该软件包,并且在 R (v3.5.3) 中tint_0.1.1也有一个工作版本。tinytex_0.11我正在尝试从 RStudio (v1.1.383) 中的文件 > 新文件 > RMarkdown > 从模板菜单中使用提供的模板 - (Tint is not Tufte (PDF))。

当我尝试编译模板(使用“编织”按钮)时,我收到以下错误消息:


tlmgr search --file --global "/roboto.sty" TeX Live 2018 被永久冻结,将不再更新。发生这种情况是为了准备新版本。

如果您有兴趣帮助预测试新版本(当预测试可用时),请阅读http://tug.org/texlive/pretest.html。否则,请稍等,新版本将在适当的时候准备好。正在尝试自动安装缺少的 LaTeX 包... tlmgr install roboto TeX Live 2018 被永久冻结,将不再更新。发生这种情况是为了准备新版本。

如果您有兴趣帮助预测试新版本(当预测试可用时),请阅读http://tug.org/texlive/pretest.html。否则,请稍等,新版本将在适当的时候准备好。

tlmgr.pl:包存储库http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet(未验证:gpg 不可用)

tlmgr 本身需要更新。请通过 tlmgr update --self 或获取 Unix-ish 系统的最新更新程序来执行此操作:http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh /或 Windows 系统: http: //mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe

然后像往常一样继续进行其他更新。

tlmgr.pl:终止;请看上面的警告!tlmgr search --file --global "/roboto.sty" TeX Live 2018 被永久冻结,将不再更新。发生这种情况是为了准备新版本。

如果您有兴趣帮助预测试新版本(当预测试可用时),请阅读http://tug.org/texlive/pretest.html。否则,请稍等,新版本将在适当的时候准备好。!LaTeX 错误:找不到文件“roboto.sty”。

!紧急停止。

错误:无法编译 tint.test2.tex。调试技巧见https://yihui.name/tinytex/r/#debugging。有关更多信息,请参阅 tint.test2.log。执行停止


我曾尝试使用某些tinytex功能(例如parse_packages(), tlmgr_install and tlmgr_search())来解决此问题,roboto.sty但无济于事。非常感谢您的建议、帮助和指点。

标签: rtinttinytex

解决方案


哦,亲爱的我。这花了我一段时间才最终找到解决方案(即从小tint::tintPdf插图中获取 *.pdf 输出(作为*.Rmd文件)。总而言之,我已经安装了tinytex软件包,但没有运行下一个块中的第二个命令:

install.packages('tinytex') tinytex::install_tinytex()

这让我困惑了一段时间。tinytex可以在此处找到 有关该软件包的更多信息: https ://yihui.name/tinytex/

一旦安装并Kinting 小插图,tlmgr包就完成了它的工作,并找到了roboto.sty渲染 *.pdf 所需的内容


推荐阅读