【问题标题】:Not finding my bookdown bibliography file找不到我的 bookdown 书目文件
【发布时间】:2021-08-10 11:39:34
【问题描述】:

我的文档就是这个

---
title: "The Visual Speech (VISP) Handbook"
author: "Fredrik Karlsson & Linda Sandström"
site: bookdown::bookdown_site
documentclass: book
output:
  bibliography: references.bib
  #bookdown::pdf_book: default
  bookdown::gitbook: default
  biblio-style: "apalike"
  link-citations: true
---
# Preface {-}

[@R-base]

我有一个参考文件:

> dir(pattern = "*.bib")
[1] "references.bib"

但是我在编织这本书时找不到这个围兜文件:

eval(parse(text = name)) 中的错误:找不到对象“references.bib” 调用:... create_output_format -> create_output_format_function -> eval -> eval 请删除 _main.Rmd 完成调试错误后。执行停止

关于如何正确设置的任何想法(在 Rstudio 中)

谢谢!

弗雷德里克

【问题讨论】:

    标签: r knitr bookdown bibliography


    【解决方案1】:

    这只是代码中的位置问题(见more information here)。

    你可以试试:

    ---
    title: "The Visual Speech (VISP) Handbook"
    author: "Fredrik Karlsson & Linda Sandström"
    site: bookdown::bookdown_site
    documentclass: book
    output:
      #bookdown::pdf_book: default
      bookdown::gitbook: default
    bibliography: references.bib
    biblio-style: "apalike"
    link-citations: true
    ---
    # Preface {-}
    
    [@R-base]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-28
      • 1970-01-01
      • 2021-08-03
      • 2018-08-15
      • 2020-08-29
      • 1970-01-01
      • 2020-05-05
      • 1970-01-01
      相关资源
      最近更新 更多