Есть ли возможность изменить метку главы с Глава на Тема в выводе отчета documentclass: report
? Вышеуказанное изменение не привело к ожидаемому результату.
Вот индексный файл и yml.
index.Rmd
:
---
title: "Report"
author: "P"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: report
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
description: "This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook."
header-includes:
- \AtBeginDocument{\renewcommand{\chaptername}{Topic}}
---
_output.yml
:
bookdown::gitbook:
css: style.css
config:
toc:
before: |
<li><a href="./">A Minimal Book Example</a></li>
after: |
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
download: ["pdf", "epub"]
bookdown::pdf_book:
includes:
in_header: preamble.tex
latex_engine: xelatex
citation_package: natbib
keep_tex: yes
bookdown::epub_book: default
_bookdown.yml
book_filename: "Report"
delete_merged_file: true
language:
ui:
chapter_name: 'Topic'