diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-12-02 22:35:08 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2017-12-02 22:35:08 (GMT) |
commit | 2ad350a713360e89ae6d264924cd28f519b8b22c (patch) | |
tree | 3ac0983c9eee6e1dbb2ec2bb889a44e1f6340b03 | |
parent | 9881e4e5386bf6a74b4a542321c23a7c396035ef (diff) | |
download | cpython-2ad350a713360e89ae6d264924cd28f519b8b22c.zip cpython-2ad350a713360e89ae6d264924cd28f519b8b22c.tar.gz cpython-2ad350a713360e89ae6d264924cd28f519b8b22c.tar.bz2 |
[3.6] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) (#4683)
Also addresses doc build failures documented in bpo-32200.
(cherry picked from commit 7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff)
-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 f7073d1..43826ec 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -89,11 +89,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. |