mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[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 7324b5ce8e
)
This commit is contained in:
parent
9881e4e538
commit
2ad350a713
1 changed files with 2 additions and 3 deletions
|
@ -89,11 +89,10 @@ html_split_index = True
|
||||||
# Options for LaTeX output
|
# Options for LaTeX output
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
|
latex_engine = 'xelatex'
|
||||||
|
|
||||||
# Get LaTeX to handle Unicode correctly
|
# Get LaTeX to handle Unicode correctly
|
||||||
latex_elements = {
|
latex_elements = {
|
||||||
'inputenc': r'\usepackage[utf8x]{inputenc}',
|
|
||||||
'utf8extra': '',
|
|
||||||
'fontenc': r'\usepackage[T1,T2A]{fontenc}',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
# Additional stuff for the LaTeX preamble.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue