Skip to content

Commit 2ad350a

Browse files
miss-islingtonned-deily
authored andcommitted
[3.6] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) (#4683)
Also addresses doc build failures documented in bpo-32200. (cherry picked from commit 7324b5c)
1 parent 9881e4e commit 2ad350a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@
8989
# Options for LaTeX output
9090
# ------------------------
9191

92+
latex_engine = 'xelatex'
93+
9294
# Get LaTeX to handle Unicode correctly
9395
latex_elements = {
94-
'inputenc': r'\usepackage[utf8x]{inputenc}',
95-
'utf8extra': '',
96-
'fontenc': r'\usepackage[T1,T2A]{fontenc}',
9796
}
9897

9998
# Additional stuff for the LaTeX preamble.

0 commit comments

Comments
 (0)