繁体   English   中英

在bookdown中无法获得图号和标题之间的冒号分隔符

[英]Can't get the colon separator between figure number and caption in bookdown

我在我的_bookdown.yml中有一个word文档,我试图用bookdown渲染。 即使不创建_bookdown.yml文件,我仍然没有得到“:”分隔符。

delete_merged_file: true
language:
  label:
   fig: 'Figuee '
   tab: 'TABLE '
ui:
  chapter_name: "Chapter "

但它在单词文件中显示为:Figuee 1 blah-blah

图号和标题之间没有冒号。 对于我的生活,我没有看到指定的地方,也没有我可以改变的地方。 我确定我在某处遗漏了一些简单的东西。

sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server 2012 R2 x64 (build 9600)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] bookdown_0.7

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1 knitr_1.20 xfun_0.3

这是bookdown的 一个错误我刚刚修复了Github。 请尝试开发版本:

remotes::install_github('rstudio/bookdown')

暂无
暂无

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

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