[ENT-1955] Fix LaTeX errors when building docs PDF (#3426)

* Fix latex errors when building docs PDF

* Experimenting
This commit is contained in:
Anthony Keenan 2018-06-24 11:04:08 +01:00 committed by Michele Sollecito
parent 3046843d40
commit 68d4ed0cd9

View File

@ -238,6 +238,14 @@ latex_documents = [('index', u'corda-developer-site.tex', u'Corda Developer Docu
# If false, no module index is generated.
# latex_domain_indices = True
_PREAMBLE = r"""
\usepackage[utf8]{inputenc}
\usepackage{pmboxdraw}
\DeclareUnicodeCharacter{2514}{\textSFii}
\DeclareUnicodeCharacter{251C}{\textSFviii}
\DeclareUnicodeCharacter{2705}{\checkmark}
"""
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
@ -251,7 +259,9 @@ latex_elements = {
# Latex figure (float) alignment
# 'figure_align': 'htbp',
'maxlistdepth': 2000,
'maxlistdepth' : '2000',
'preamble' : _PREAMBLE,
'extraclassoptions' : 'openany',
}