mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940)
Also addresses doc build failures documented in bpo-32200.
This commit is contained in:
parent
1eaa1169c5
commit
7324b5ce8e
1 changed files with 2 additions and 3 deletions
|
|
@ -90,11 +90,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