Fix for right arrows in pdf docs
This commit is contained in:
parent
19b7bc0202
commit
b4a1c95f78
1 changed files with 6 additions and 1 deletions
|
|
@ -48,17 +48,22 @@ htmlhelp_basename = 'Akkadoc'
|
||||||
|
|
||||||
# -- Options for LaTeX output --------------------------------------------------
|
# -- Options for LaTeX output --------------------------------------------------
|
||||||
|
|
||||||
|
def setup(app):
|
||||||
|
from sphinx.util.texescape import tex_replacements
|
||||||
|
tex_replacements.append((u'⇒', ur'\(\Rightarrow\)'))
|
||||||
|
|
||||||
latex_paper_size = 'a4'
|
latex_paper_size = 'a4'
|
||||||
latex_font_size = '10pt'
|
latex_font_size = '10pt'
|
||||||
|
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'Akka.tex', u' Akka Documentation',
|
('index', 'Akka.tex', u' Akka Documentation',
|
||||||
u'Scalable Solutions AB', 'manual'),
|
u'Typesafe Inc', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
latex_elements = {
|
latex_elements = {
|
||||||
'classoptions': ',oneside,openany',
|
'classoptions': ',oneside,openany',
|
||||||
'babel': '\\usepackage[english]{babel}',
|
'babel': '\\usepackage[english]{babel}',
|
||||||
|
'fontpkg': '\\PassOptionsToPackage{warn}{textcomp} \\usepackage{times}',
|
||||||
'preamble': '\\definecolor{VerbatimColor}{rgb}{0.935,0.935,0.935}'
|
'preamble': '\\definecolor{VerbatimColor}{rgb}{0.935,0.935,0.935}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue