【问题标题】:RMarkdown Inline References do not showRMarkdown 内联引用不显示
【发布时间】:2020-06-06 15:47:09
【问题描述】:

我想在我的 RMD 中创建一个内联参考列表,如 https://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html 中所述。 不幸的是,参考没有显示。我在 rmd 中的代码:

---
output: pdf_document
references:
- id: fenner2012a
  title: One-click science marketing
  author:
  - family: Fenner
    given: Martin
  container-title: Nature Materials
  volume: 11
  URL: 'http://dx.doi.org/10.1038/nmat3283'
  DOI: 10.1038/nmat3283
  issue: 4
  publisher: Nature Publishing Group
  page: 261-263
  type: article-journal
  issued:
    year: 2012
    month: 3
---

According to
https://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html
I should have the example reference below

# References 

有人知道我能做些什么来让它显示出来吗?它以前确实有效,不知道这是否是在升级到 R4 之前。所有软件包都是最新的(刚刚进行了更新)。 RStudio 版本 1.2.5042。谢谢!

【问题讨论】:

    标签: r reference yaml r-markdown


    【解决方案1】:

    这对你有用吗? ;)

    ---
    output: pdf_document
    references:
    - id: fenner2012a
      title: One-click science marketing
      author:
      - family: Fenner
        given: Martin
      container-title: Nature Materials
      volume: 11
      URL: 'http://dx.doi.org/10.1038/nmat3283'
      DOI: 10.1038/nmat3283
      issue: 4
      publisher: Nature Publishing Group
      page: 261-263
      type: article-journal
      issued:
        year: 2012
        month: 3
    ---
    
    According to
    https://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html
    I should have the example reference below
    
    But only if we use the reference: [@fenner2012a]
    
    
    
    # References 
    

    【讨论】:

      猜你喜欢
      • 2013-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-24
      相关资源
      最近更新 更多