[Python-checkins] bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940)
Ned Deily
webhook-mailer at python.org
Sat Dec 2 17:24:42 EST 2017
https://github.com/python/cpython/commit/7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff
commit: 7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff
branch: master
author: Julien Palard <julien at palard.fr>
committer: Ned Deily <nad at python.org>
date: 2017年12月02日T17:24:39-05:00
summary:
bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940)
Also addresses doc build failures documented in bpo-32200.
files:
M Doc/conf.py
diff --git a/Doc/conf.py b/Doc/conf.py
index aaee983984b..19a2f7d67ff 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -90,11 +90,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