[Python-checkins] [3.6] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) (#4683)
Ned Deily
webhook-mailer at python.org
Sat Dec 2 17:35:11 EST 2017
https://github.com/python/cpython/commit/2ad350a713360e89ae6d264924cd28f519b8b22c
commit: 2ad350a713360e89ae6d264924cd28f519b8b22c
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Ned Deily <nad at python.org>
date: 2017-12-02T17:35:08-05:00
summary:
[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)
files:
M Doc/conf.py
diff --git a/Doc/conf.py b/Doc/conf.py
index f7073d116a4..43826ec01f4 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -89,11 +89,10 @@
# 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.
More information about the Python-checkins
mailing list