1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-02-03 02:14:40 +08:00

all: html doc pdf的写法下make -j 8编译的结果会和单独依次make doc;

make pdf; make html效果不同,有可能是几个格式同时编译时会互相干扰导致。

改用render_book的output_format参数'all',这样编译时多个格式不会并行
执行,同时也实现了epub的输出。
This commit is contained in:
Zhang Fuxin
2021-11-23 09:22:01 +08:00
parent 9a99c9d945
commit 7a9aafd5d5

View File

@@ -1,4 +1,5 @@
all: html pdf doc
all:
Rscript -e 'bookdown::render_book("index.Rmd", "all")'
echo "done"
html: