From: Julien Palard Date: Sat, 2 Dec 2017 22:24:39 +0000 (+0100) Subject: bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940) X-Git-Tag: v3.7.0a3~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7324b5ce8e7c031a0a3832a6a8d7c639111ae0ff;p=python bpo-31589 : Build PDF using xelatex for better UTF8 support. (#3940) Also addresses doc build failures documented in bpo-32200. --- diff --git a/Doc/conf.py b/Doc/conf.py index aaee983984..19a2f7d67f 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.