Fix for right arrows in pdf docs

This commit is contained in:
Peter Vlugter 2011-10-12 10:55:35 +02:00
parent 19b7bc0202
commit b4a1c95f78

View file

@ -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}'
} }