首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能使用PLOS模板进行下订

不能使用PLOS模板进行下订
EN

Stack Overflow用户
提问于 2018-09-24 11:34:44
回答 1查看 441关注 0票数 5

this post之后,我试着把@一回谢的答案用PLOS的rticles模板付诸实践,但是它不起作用。任何帮助都是非常感谢的!

下面是一个最小的例子:

代码语言:javascript
复制
---
title: Title of submission to PLOS journal
author:
  - name: Me
    affiliation: Here

# output: rticles::plos_article
output:
  bookdown::pdf_document2:
    base_format: rticles::plos_article
---

# Introduction

Some text \@ref(fig:fig1)

# References {#references .unnumbered}

错误消息读取

代码语言:javascript
复制
Error in pdf_book(..., base_format = rmarkdown::pdf_document) :    formal argument "base_format" matched by multiple actual arguments 
Calls: <Anonymous> -> create_output_format -> do.call -> <Anonymous> 
Execution halted
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-09-24 13:46:02

不能将base_format更改为bookdown::pdf_document2。但是,对于bookdown::pdf_book,您可以这样做:

代码语言:javascript
复制
---
title: Title of submission to PLOS journal
author:
  - name: Me
    affiliation: Here

#output: rticles::plos_article
output:
  bookdown::pdf_book:
    base_format: rticles::plos_article
---

# Introduction

Some text \@ref(fig:fig1)

# References {#references .unnumbered}

给其他读者的注意:确保.../rticles/rmarkdown/templates/plos_article/skeleton/PLOS-submission.eps在该目录中。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52478475

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档