尝试呈现网站时出现pandoc错误

时间:2020-06-23 11:51:58

标签: r r-markdown pandoc bookdown pandoc-citeproc

我试图在使用R的Linux上使用rmarkdown / bookdown渲染网站(不是R Studio,我们的集群只有基本R)。

有人告诉我pandoc已安装在群集上,并且应能按预期工作。确实,它似乎已安装。

当我尝试呈现网站或单个页面时,出现错误:

/usr/bin/pandoc +RTS -K512m -RTS 01_GettingStarted.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 01_GettingStarted.html --email-obfuscation none --bibliography ./DNAmArray.bib --standalone --section-divs --table-of-contents --toc-depth 2 --variable toc_float=1 --variable toc_selectors=h1,h2 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template library/rmarkdown/rmd/h/default.html --highlight-style kate --css style.css --include-before-body /tmp/RtmpLe2AMT/rmarkdown-strff91562ed9d94.html --variable navbar=1 --variable body_padding=54 --variable header_padding=59 --variable 'theme:lumen' --include-in-header /tmp/RtmpLe2AMT/rmarkdown-strff91573dd14db.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --lua-filter /library/rmarkdown/rmd/lua/pagebreak.lua --lua-filter /library/rmarkdown/rmd/lua/latex-div.lua

运行过滤器pandoc-citeproc时出错:

找不到可执行的pandoc-citeproc

错误:pandoc文档转换失败,错误83

任何帮助将不胜感激。我只是似乎无法弄清楚该错误的含义或为何在安装pandoc时失败。

1 个答案:

答案 0 :(得分:2)

如错误消息所述,您尚未安装pandoc-citeproc。您需要pandoc-citeproc来处理书目。

相关问题