← Back to DAGDA | Support | Source: https://github.com/python/cpython/commit/d9b321692b6770c0fe7cb7ba05f9bd5c6082a880
Skip to content

Commit d9b3216

Browse files
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>
1 parent c9a195e commit d9b3216

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Doc/conf.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,10 @@
8484
# Options for LaTeX output
8585
# ------------------------
8686

87+
latex_engine = 'xelatex'
88+
8789
# Get LaTeX to handle Unicode correctly
8890
latex_elements = {
89-
'inputenc': r'\usepackage[utf8x]{inputenc}',
90-
'utf8extra': '',
91-
'fontenc': r'\usepackage[T1,T2A]{fontenc}',
9291
}
9392

9493
# Additional stuff for the LaTeX preamble.

0 commit comments

Comments
 (0)