【问题标题】:Can't get the colon separator between figure number and caption in bookdown无法在 bookdown 中的数字和标题之间获取冒号分隔符
【发布时间】:2018-08-22 15:48:37
【问题描述】:

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

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

但它在word文档中显示为: 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

【问题讨论】:

标签: r bookdown


【解决方案1】:

这是 bookdowna bug,这是 Github 上的 I just fixed。请尝试开发版:

remotes::install_github('rstudio/bookdown')

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-12-11
    • 1970-01-01
    • 2012-09-07
    • 1970-01-01
    • 1970-01-01
    • 2013-05-27
    • 1970-01-01
    相关资源
    最近更新 更多