summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2017-12-02 22:24:39 (GMT)
committerNed Deily <nad@python.org>2017-12-02 22:24:39 (GMT)
commit7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff (patch)
treea49810ec3aae853b59a5a10d573a8c6e3005665b
parent1eaa1169c522727b1911b798d45c8984992bd179 (diff)
downloadcpython-7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff.zip
cpython-7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff.tar.gz
cpython-7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff.tar.bz2
bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940)
Also addresses doc build failures documented in bpo-32200.
-rw-r--r--Doc/conf.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index aaee983..19a2f7d 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -90,11 +90,10 @@ html_split_index = True
# Options for LaTeX output
# ------------------------
+latex_engine = 'xelatex'
+
# Get LaTeX to handle Unicode correctly
latex_elements = {
- 'inputenc': r'\usepackage[utf8x]{inputenc}',
- 'utf8extra': '',
- 'fontenc': r'\usepackage[T1,T2A]{fontenc}',
}
# Additional stuff for the LaTeX preamble.