【发布时间】:2017-10-27 14:54:47
【问题描述】:
我在最新的 R 和 Rstudio 版本中创建了一个新的 Rmd 文件,并安装了完整版本的 MiKTeX。在我的 Windows 10 机器上。
当我尝试编织它时,出现以下错误
! LaTeX Error: File `fancyvrb.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.34 \newcommand
pandoc.exe: Error producing PDF
Error: pandoc document conversion failed with error 43
Además: Warning message:
comando ejecutado '"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS pdfprueba.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output pdfprueba.pdf --template "C:\Users\karin\Documents\R\win-library\3.3\rmarkdown\rmd\latex\default-1.17.0.2.tex" --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in"' tiene estatus 43
Ejecución interrumpida
我怀疑可能是我在 MiKTeX 中没有 fancyvrb 包,所以我按照these 的说明进行操作,但仍然遇到同样的错误。
【问题讨论】: