Fix latex build: make some unicode characters found in help work
This commit is contained in:
parent
b378a4c3d2
commit
80b50733a0
|
@ -16,10 +16,21 @@ version = 'beta'
|
|||
release = 'beta'
|
||||
exclude_patterns = ['_build']
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
html_theme = 'default'
|
||||
html_static_path = ['_static']
|
||||
html_show_copyright = False
|
||||
|
||||
latex_show_urls = 'footnote'
|
||||
latex_elements = {
|
||||
'preamble': '''
|
||||
\\DeclareUnicodeCharacter{22EF}{$\\cdots$} % Dots
|
||||
\\DeclareUnicodeCharacter{2665}{\\ding{170}} % Heart
|
||||
\\DeclareUnicodeCharacter{2746}{\\ding{105}} % Snow
|
||||
\\usepackage{pifont}
|
||||
''',
|
||||
}
|
||||
|
||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
|
||||
if not on_rtd: # only import and set the theme if we’re building docs locally
|
||||
|
|
Loading…
Reference in New Issue