From 011a3bf584e86a4ef6090e1b616ffaa1ced5ea80 Mon Sep 17 00:00:00 2001 From: Zhang Fuxin Date: Wed, 17 Nov 2021 09:55:34 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E7=94=9F=E6=88=90=E7=9A=84htm?= =?UTF-8?q?l=E7=BC=BA=E5=B0=91=E4=BA=86lang=E5=8F=82=E6=95=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It breaks pdf generation with output like this: Package polyglossia Warning: File gloss-.ldf does not exist! (polyglossia) I will nevertheless try to use hyphenation pattern s for . on input line 40. ! Argument of \str_uppercase:n has an extra }. \par l.40 \setmainlanguage[]{} It seems that polyglossia does not support Chinese? I am not sure how to fix it for now. This reverts commit f734e0f14b16ef0cea3278edf5ffb7e5168cb2dd. --- index.Rmd | 1 - 1 file changed, 1 deletion(-) diff --git a/index.Rmd b/index.Rmd index f97196c..f04ab30 100644 --- a/index.Rmd +++ b/index.Rmd @@ -20,7 +20,6 @@ site: bookdown::bookdown_site description: "计算机体系结构基础" github-repo: foxsen/archbase #cover-image: images/cover.jpg -lang: zh-CN --- ```{r setup, include=FALSE}