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

Revert "fix: 生成的html缺少了lang参数"

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 }.
<inserted text>
                \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 f734e0f14b.
This commit is contained in:
Zhang Fuxin
2021-11-17 09:55:34 +08:00
parent 65b9d1011f
commit 011a3bf584

View File

@@ -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}