bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) · python/cpython@d9b3216 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit d9b3216

miss-islingtonJulienPalard

and

authored

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 7324b5c) Co-authored-by: Julien Palard julien@palard.fr

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -84,11 +84,10 @@
84 84 # Options for LaTeX output
85 85 # ------------------------
86 86
87 +latex_engine = 'xelatex'
88 +
87 89 # Get LaTeX to handle Unicode correctly
88 90 latex_elements = {
89 -'inputenc': r'\usepackage[utf8x]{inputenc}',
90 -'utf8extra': '',
91 -'fontenc': r'\usepackage[T1,T2A]{fontenc}',
92 91 }
93 92
94 93 # Additional stuff for the LaTeX preamble.