From 7a9aafd5d5667b1b95cfc3a04cc6e7cdfbc64ba6 Mon Sep 17 00:00:00 2001 From: Zhang Fuxin Date: Tue, 23 Nov 2021 09:22:01 +0800 Subject: [PATCH] =?UTF-8?q?all:=20html=20doc=20pdf=E7=9A=84=E5=86=99?= =?UTF-8?q?=E6=B3=95=E4=B8=8Bmake=20-j=208=E7=BC=96=E8=AF=91=E7=9A=84?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E4=BC=9A=E5=92=8C=E5=8D=95=E7=8B=AC=E4=BE=9D?= =?UTF-8?q?=E6=AC=A1make=20doc;=20make=20pdf;=20make=20html=E6=95=88?= =?UTF-8?q?=E6=9E=9C=E4=B8=8D=E5=90=8C=EF=BC=8C=E6=9C=89=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E6=98=AF=E5=87=A0=E4=B8=AA=E6=A0=BC=E5=BC=8F=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E6=97=B6=E4=BC=9A=E4=BA=92=E7=9B=B8=E5=B9=B2?= =?UTF-8?q?=E6=89=B0=E5=AF=BC=E8=87=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改用render_book的output_format参数'all',这样编译时多个格式不会并行 执行,同时也实现了epub的输出。 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bec0a12..7f3cb98 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -all: html pdf doc +all: + Rscript -e 'bookdown::render_book("index.Rmd", "all")' echo "done" html: