diff --git a/.readthedocs.yml b/.readthedocs.yml index f8b3c31c57..563e6df7ce 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -16,6 +16,9 @@ sphinx: fail_on_warning: false configuration: docs/conf.py +formats: + - pdf + python: install: - requirements: requirements-dev.txt diff --git a/docs/conf.py b/docs/conf.py index e4623e69f6..97a50a13c9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -170,7 +170,12 @@ def __call__(self, app, docname, source): # -- Options for LaTeX output --------------------------------------------- latex_elements = { - "preamble": r"\usepackage{enumitem}\setlistdepth{99}", + "preamble": r''' +\usepackage{enumitem} +\setlistdepth{99} +\DeclareUnicodeCharacter{22C5}{$\cdot$} +\DeclareUnicodeCharacter{21AA}{$\hookrightarrow$} +''', } # Grouping the document tree into LaTeX files. List of tuples