summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/conf.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/conf.py b/source/conf.py
index da2a7d5..720baa4 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -50,3 +50,22 @@ html_theme = 'alabaster'
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
+
+# -- Options for latex output -------------------------------------------------
+
+latex_engine = 'xelatex'
+latex_show_urls = 'footnote'
+
+latex_elements = {
+ 'papersize': 'a5paper',
+ 'fontpkg': r'''
+ \setmainfont{Gentium}
+ \setsansfont{Gentium}
+ ''',
+ 'sphinxsetup': r'''
+ TitleColor={named}{black},
+ InnerLinkColor={named}{gray},
+ OuterLinkColor={named}{gray},
+ ''',
+ 'fncychap': r'\usepackage[Rejne]{fncychap}',
+ }