0

I want to change the label of table and figures to another language (e.g., Chinese, and change Figure 1.1 to 图1.1). I found that, if I create a _bookdown.yml file with the following content:

language:
  label:
    fig: '图'
    tab: '表'

and put the file under the same directory of the posts, it works.

But if I have many Sections, or nested Sections, and I definitely want to add only one _bookdown.yml file in the content/ folder only. For the subfolders would be included, the content of the _bookdown.yml should be:

language:
  label:
    fig: '图'
    tab: '表'
rmd_subdir: true

Unfornately, it does not work. Do my friends here know of any workaround solutions?

Liang Zhang
  • 753
  • 7
  • 20

1 Answers1

0

In reference to this question and my own experiences, it can be affirmed that each section (directory) of post files should have a separate _bookdown.yml to make the configurations take effect.

Liang Zhang
  • 753
  • 7
  • 20