]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Oct 2019 03:42:51 +0000 (20:42 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 03:42:51 +0000 (20:42 -0700)
Also addresses doc build failures documented in bpo-32200.
(cherry picked from commit 7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff)

Co-authored-by: Julien Palard <julien@palard.fr>
Doc/conf.py

index d82514f6051973d0428996fdbb4567edfa7801e4..393018d08f51d2039fefc596fe7157fcb84b8089 100644 (file)
@@ -84,11 +84,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.