From 5fc7b21391c959bb5a54174d9084ad55131b8fdb Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 12 Oct 2021 10:12:15 -0300 Subject: [PATCH] Use xelatex engine for better Unicode support (#9197) --- 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.