From 8f80f370ce8645aa01c629934bd0f300fefeb480 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 12 Oct 2021 09:44:31 -0300 Subject: [PATCH] Use xelatex engine for better Unicode support Fix #9196 --- doc/en/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/en/conf.py b/doc/en/conf.py index 7c053e332..a2c96a85f 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -39,6 +39,10 @@ autodoc_member_order = "bysource" autodoc_typehints = "description" todo_include_todos = 1 +# Use a different latex engine due to possible Unicode characters in the documentation: +# https://docs.readthedocs.io/en/stable/guides/pdf-non-ascii-languages.html +latex_engine = "xelatex" + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.