]> granicus.if.org Git - python/commitdiff
bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940)
authorJulien Palard <julien@palard.fr>
Sat, 2 Dec 2017 22:24:39 +0000 (23:24 +0100)
committerNed Deily <nad@python.org>
Sat, 2 Dec 2017 22:24:39 +0000 (17:24 -0500)
Also addresses doc build failures documented in bpo-32200.

Doc/conf.py

index aaee983984bcb636547a3a9de92a537ff3b82f78..19a2f7d67ff8312c9e78ea999a37d2eb5d658912 100644 (file)
@@ -90,11 +90,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.