问题描述
我的同事在将Rmd转换为pdf时遇到以下错误。 tinytex找不到sty文件,尝试安装该文件,但由于已安装该文件而失败?
我对如何解决这个问题感到困惑。欢迎提出建议。
"C:/R/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Tuininsecten.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output Tuininsecten.tex --self-contained --highlight-style tango --latex-engine pdflatex --variable graphics --variable "geometry:margin=1in" --include-in-header "C:\Users\DIRK_M~1\AppData\Local\Temp\RtmpQJewV9\rmarkdown-str714276548a6.html"
tlmgr.pl: package repository http://mirror.koddos.net/CTAN/systems/texlive/tlnet (verified)
tlmgr.pl install: package already present: pdftexcmds
! LaTeX Error: File `pdftexcmds.sty' not found.
! Emergency stop.
<read *>
Error: LaTeX Failed to compile Tuininsecten.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Tuininsecten.log for more info.
In addition: There were 11 warnings (use warnings() to see them)
Execution halted```