[Python-checkins] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940)
Miss Islington (bot)
webhook-mailer at python.org
Mon Oct 7 23:42:55 EDT 2019
https://github.com/python/cpython/commit/d9b321692b6770c0fe7cb7ba05f9bd5c6082a880
commit: d9b321692b6770c0fe7cb7ba05f9bd5c6082a880
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-07T20:42:51-07:00
summary:
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 at palard.fr>
files:
M Doc/conf.py
diff --git a/Doc/conf.py b/Doc/conf.py
index d82514f605197..393018d08f51d 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -84,11 +84,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