]> granicus.if.org Git - python/commitdiff
[3.6] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) (#4683)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Dec 2017 22:35:08 +0000 (14:35 -0800)
committerNed Deily <nad@python.org>
Sat, 2 Dec 2017 22:35:08 +0000 (17:35 -0500)
Also addresses doc build failures documented in bpo-32200.
(cherry picked from commit 7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff)

Doc/conf.py

index f7073d116a48bf3d63b780ebd88b0f26dd184fa6..43826ec01f46634d8c82070e68a4427c0f7dcca6 100644 (file)
@@ -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.