diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-07 20:42:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-07 20:42:51 -0700 |
| commit | d9b321692b6770c0fe7cb7ba05f9bd5c6082a880 (patch) | |
| tree | afb2ea15e3f3ccc1c4df028d81953c897021a4fd | |
| parent | c9a195ec0b830d719ce5ebf8abe82c6e4a3247b8 (diff) | |
| download | cpython-git-d9b321692b6770c0fe7cb7ba05f9bd5c6082a880.tar.gz | |
bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940)
Also addresses doc build failures documented in bpo-32200.
(cherry picked from commit 7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff)
Co-authored-by: Julien Palard <julien@palard.fr>
| -rw-r--r-- | Doc/conf.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index d82514f605..393018d08f 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -84,11 +84,10 @@ html_split_index = True # Options for LaTeX output # ------------------------ +latex_engine = 'xelatex' + # Get LaTeX to handle Unicode correctly latex_elements = { - 'inputenc': r'\usepackage[utf8x]{inputenc}', - 'utf8extra': '', - 'fontenc': r'\usepackage[T1,T2A]{fontenc}', } # Additional stuff for the LaTeX preamble. |
