changeset 83:7d5b4718ac1b

Use the fonts Charter, Lato and Inconsolate within LaTeX. Don't output page references.
author Franz Glasner <hg@dom66.de>
date Thu, 15 Mar 2018 00:17:17 +0100
parents 218807d7d883
children 6b6acc50a19d
files doc/conf.py
diffstat 1 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/conf.py	Thu Mar 15 00:10:48 2018 +0100
+++ b/doc/conf.py	Thu Mar 15 00:17:17 2018 +0100
@@ -131,11 +131,21 @@
 
     # The font size ('10pt', '11pt' or '12pt').
     #
-    # 'pointsize': '10pt',
+    'pointsize': '11pt',
 
     # Additional stuff for the LaTeX preamble.
     #
-    # 'preamble': '',
+    # NOTE: "inconsolata" in "fontpkg" errors within pdfTeX: seems to be
+    #       incompatible with some header package.
+    #    
+    'preamble': r'''
+        \usepackage{inconsolata}
+    ''',
+
+   'fontpkg': r'''
+        \usepackage{charter}
+        \usepackage[defaultsans]{lato}
+    ''',    
 
     # Latex figure (float) alignment
     #
@@ -153,7 +163,7 @@
 ]
 
 latex_show_urls = 'footnote'
-latex_show_pagerefs = True
+#latex_show_pagerefs = True
 
 
 # -- Options for manual page output ------------------------------------------
@@ -189,3 +199,8 @@
 
 # If true, `todo` and `todoList` produce output, else they produce nothing.
 todo_include_todos = True
+
+# -- Options for autodoc -----------------------------------------------------
+
+autodoc_member_order = 'bysource'
+autoclass_content = 'both'