安装使用bookdownplus时出现问题:
"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS copernicus.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output copernicus.tex --table-of-contents --toc-depth 3 --template "tex\template_article.tex" --number-sections --highlight-style tango --latex-engine pdflatex --natbib --variable tables=yes --standalone
Error: Failed to compile copernicus.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips.
In addition: Warning messages:
1: In file(file, "rt") : InternetOpenUrl failed: '无法与服务器建立连接'
2: In system2(..., stdout = f1, stderr = f2) : '"pdflatex"' not found
Please delete copernicus.Rmd after you finish debugging the error.
运行安装命令
install.packages("pdflatex")
Warning in install.packages :
package ‘pdflatex’ is not available (for R version 3.6.0)