简体   繁体   English

使用pandoc-citeproc进行预订

[英]Bookdown with pandoc-citeproc

I have the latest version of bookdown package and Rstudio, and I'm on Arch Linux. 我拥有最新版本的bookdown软件包和Rstudio,并且在Arch Linux上。

I updated pandoc-citeproc to its latest version and after that I started to receive the following error message: 我将pandoc-citeproc更新到了最新版本,此后,我开始收到以下错误消息:

pandoc: Error running filter /usr/lib/rstudio/bin/pandoc/pandoc-citeproc
fd:5: hClose: resource vanished (Broken pipe)
Error: pandoc document conversion failed with error 83
Execution halted

Exited with status 1.

Regardless of the output type and even without references in the document, I get this error and the Rstudio preview is not generated. 无论输出类型如何,甚至在文档中没有引用,我都会收到此错误,并且不会生成Rstudio预览。 To view the generated document I have to open the index file in the browser and go giving F5 as I'm updating the document. 要查看生成的文档,我必须在浏览器中打开索引文件,并在更新文档时输入F5。

If I insert references the document is neither generated. 如果插入参考,则不会生成该文档。

I searched in the AUR repository for other packages, uninstalled and re-installed pandoc-citeproc, but nothing solved. 我在AUR存储库中搜索了其他软件包,已卸载并重新安装了pandoc-citeproc,但没有解决。

How can I fix this? 我怎样才能解决这个问题?

I run Arch as well, and I also encountered this issue after upgrading to pandoc-citeproc-0.10.4.1-39 . 我也运行Arch,升级到pandoc-citeproc-0.10.4.1-39后也遇到了这个问题。

Temporarily solved by downgrading to pandoc-citeproc-0.10.4.1-37 . 暂时解决,方法是降级为pandoc-citeproc-0.10.4.1-37 Super easy to do, provided you still have the package cached on your system: 超级容易做到,只要您仍然在系统上缓存了软件包:

  • cd /var/cache/pacman/pkg
  • sudo pacman -U pandoc-citeproc-0.10.4.1-37-x86_64.pkg.tar.xz

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM