【问题标题】:Error: Failed to build the bibliography via biber {vitae}错误:无法通过 biber {vitae} 构建参考书目
【发布时间】:2020-04-09 04:24:43
【问题描述】:

我正在尝试使用vitae 包复制简历,并在生成参考书目时不断遇到奇怪的错误。它以前可以工作,但是当我今天尝试执行代码时,它不断产生以下输出:

INFO - This is Biber 2.14
INFO - Logfile is 'cv.blg'
INFO - Reading 'cv.bcf'
INFO - Found 4 citekeys in bib section 0
INFO - Processing section 0
INFO - Globbing data source 'C:/Users/Joe Roberts/Documents/automated_cv/cv/roberts-published.bib'
INFO - Globbed data source 'C:/Users/Joe Roberts/Documents/automated_cv/cv/roberts-published.bib' to C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib
INFO - Looking for bibtex format file 'C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib' for section 0
ERROR - Cannot find 'C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib'!
INFO - ERRORS: 1
Error: Failed to build the bibliography via biber
Execution halted
Warning message:
LaTeX Warning: Empty bibliography on input line 237.
LaTeX Warning: Citation 'roberts2018u-x6o8ySG0sC' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019d1gkVwhDpl0C' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019IjCSPb-OGe4C' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019Tyk-4Ss8FVUC' undefined on input line 242.
Package rerunfilecheck Warning: File `cv.out' has changed.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                cv
(biblatex)                and rerun LaTeX afterwards. 

有什么办法解决这个问题吗?

【问题讨论】:

  • 您找到解决方法了吗?我有同样的问题:(

标签: r-markdown tinytex


【解决方案1】:

好的,我遇到了同样的问题,它曾经可以工作,然后进行了一些更新,但它不再工作了。问题的根源似乎是您路径中的 空格 (Users/Joe Roberts/Documents/) 我遇到了同样的问题,因为我们的组织数据库自动包含空格。我有 x2 解决方法:

第一个解决方法(烦人的一个): 将文件保存在本地没有空间的路径中。对我来说,这是将其从我们的 org db 中取出并将其保存在桌面上。我知道,很蹩脚,所以第二个更好!

第二种解决方法:在 .Rmd 中的设置代码块中,添加代码以将引用文件复制到 biber 可以读取的临时位置:

例如:

citations_1 <- tempfile(fileext = ".bib")
file.copy(from = here::here("automated_cv/cv/roberts-published.bib"), to = citations_1)

顺便说一下,我从您的错误消息中猜到了文件路径,因此您可能需要对其进行编辑,但基本上这应该会有所帮助!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-03-28
    • 2017-01-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-22
    • 2022-01-11
    • 1970-01-01
    相关资源
    最近更新 更多