# HG changeset patch # User Franz Glasner # Date 1521069437 -3600 # Node ID 7d5b4718ac1bb6f81fffc273b4ed97cc22b24793 # Parent 218807d7d88339073a30b03080f0f4bb7e75c212 Use the fonts Charter, Lato and Inconsolate within LaTeX. Don't output page references. diff -r 218807d7d883 -r 7d5b4718ac1b doc/conf.py --- 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'