我正在用.pdf
在bookdown
中绘制一本书,我想介绍几章。
_bookdown.yml
看起来像这样:
book_filename: "my-Thesis"
before_chapter_script: "Script1.R" #Script1.R cleans memory (see Script1.R file)
rmd_files: ["index.Rmd", "01-intro.Rmd","02-C-quantity.Rmd","03-C-quality.Rmd","04-fine-roots.Rmd","05-aboveg-biom.Rmd","07-appendix.Rmd","08-definitions.Rmd","09-references.Rmd"]
delete_merged_file: true
_output.yml
看起来像这样:
bookdown::gitbook:
lib_dir: assets
split_by: "rmd"
#config:
#toolbar:
#position: static
bookdown::pdf_book:
includes:
in_header: preamble.tex
keep_tex: yes
latex_engine: xelatex
#citation_package: #harvard #biblatex
我想在本书的末尾添加一个附录07-Appendix.Rmd
,该附录涵盖了整本书,并显示为一章,而不是如图所示的“之上...”一章的子章节。在以下快照中。 Definitions
和References
章也是如此。
欢迎任何帮助,谢谢。