diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-02-29 23:14:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 23:14:48 +0900 |
commit | c67dfef2210c99e6919933b4f56128a7d907ef30 (patch) | |
tree | e0074331609284da06d53855c02e58e1062c458a | |
parent | e6dc20b95db8f0e8e7bcc89918420a5a73078edb (diff) | |
parent | ba77af2641b2c0f5754647024d545a8b3a2b721b (diff) | |
download | sphinx-git-c67dfef2210c99e6919933b4f56128a7d907ef30.tar.gz |
Merge pull request #7221 from oxnz/3.x
Latex: replace polyglossia with babel for zh
-rw-r--r-- | sphinx/builders/latex/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/builders/latex/constants.py b/sphinx/builders/latex/constants.py index 39fbe0195..70fd0b1d1 100644 --- a/sphinx/builders/latex/constants.py +++ b/sphinx/builders/latex/constants.py @@ -184,6 +184,8 @@ ADDITIONAL_SETTINGS = { 'babel': '\\usepackage{babel}', }, ('xelatex', 'zh'): { + 'polyglossia': '', + 'babel': '\\usepackage{babel}', 'fontenc': '\\usepackage{xeCJK}', }, ('xelatex', 'el'): { |