r - 为 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
但无济于事。非常感谢您的建议、帮助和指点。
解决方案
哦,亲爱的我。这花了我一段时间才最终找到解决方案(即从小tint::tintPdf
插图中获取 *.pdf 输出(作为*.Rmd
文件)。总而言之,我已经安装了tinytex
软件包,但没有运行下一个块中的第二个命令:
install.packages('tinytex')
tinytex::install_tinytex()
这让我困惑了一段时间。tinytex
可以在此处找到
有关该软件包的更多信息: https ://yihui.name/tinytex/
一旦安装并Kint
ing 小插图,tlmgr
包就完成了它的工作,并找到了roboto.sty
渲染 *.pdf 所需的内容
推荐阅读
- objective-c - NSLider 的 setHidden 不起作用 - 目标 C
- javascript - 如何自定义 React Native Navigation Cardoverlay 样式?
- java - BoxLayout面板内的项目不占用JPanel的宽度
- datatables - Blazor 和 DataTables:像列一样传递参数
- php - 我正在使用 laravel,我想计算控制器中存储函数中两个日期之间的天数并自动显示在索引视图中
- rest - 如何使用 Facebook Graph API 批量提取广告洞察?
- delphi - Delphi 10.4 - 通过单击 Stringgrid Header 对 Memtable 进行排序
- sql - 我需要有关动态 SQL 和在函数中动态设置表名的帮助
- python - 同一文件中的列总和
- tkinter - 在包含单选按钮的python中关闭一个窗口并打开另一个窗口