mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
[ENT-1955] Fix LaTeX errors when building docs PDF (#3426)
* Fix latex errors when building docs PDF * Experimenting
This commit is contained in:
parent
3046843d40
commit
68d4ed0cd9
@ -238,6 +238,14 @@ latex_documents = [('index', u'corda-developer-site.tex', u'Corda Developer Docu
|
|||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
# latex_domain_indices = True
|
# latex_domain_indices = True
|
||||||
|
|
||||||
|
_PREAMBLE = r"""
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage{pmboxdraw}
|
||||||
|
\DeclareUnicodeCharacter{2514}{\textSFii}
|
||||||
|
\DeclareUnicodeCharacter{251C}{\textSFviii}
|
||||||
|
\DeclareUnicodeCharacter{2705}{\checkmark}
|
||||||
|
"""
|
||||||
|
|
||||||
latex_elements = {
|
latex_elements = {
|
||||||
# The paper size ('letterpaper' or 'a4paper').
|
# The paper size ('letterpaper' or 'a4paper').
|
||||||
# 'papersize': 'letterpaper',
|
# 'papersize': 'letterpaper',
|
||||||
@ -251,7 +259,9 @@ latex_elements = {
|
|||||||
# Latex figure (float) alignment
|
# Latex figure (float) alignment
|
||||||
# 'figure_align': 'htbp',
|
# 'figure_align': 'htbp',
|
||||||
|
|
||||||
'maxlistdepth': 2000,
|
'maxlistdepth' : '2000',
|
||||||
|
|
||||||
'extraclassoptions': 'openany',
|
'preamble' : _PREAMBLE,
|
||||||
|
|
||||||
|
'extraclassoptions' : 'openany',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user