Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/conf.py @ 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 | 3a8f712d27df |
| children | 5d47693916ee |
comparison
equal
deleted
inserted
replaced
| 82:218807d7d883 | 83:7d5b4718ac1b |
|---|---|
| 129 # | 129 # |
| 130 'papersize': 'a4paper', | 130 'papersize': 'a4paper', |
| 131 | 131 |
| 132 # The font size ('10pt', '11pt' or '12pt'). | 132 # The font size ('10pt', '11pt' or '12pt'). |
| 133 # | 133 # |
| 134 # 'pointsize': '10pt', | 134 'pointsize': '11pt', |
| 135 | 135 |
| 136 # Additional stuff for the LaTeX preamble. | 136 # Additional stuff for the LaTeX preamble. |
| 137 # | 137 # |
| 138 # 'preamble': '', | 138 # NOTE: "inconsolata" in "fontpkg" errors within pdfTeX: seems to be |
| 139 # incompatible with some header package. | |
| 140 # | |
| 141 'preamble': r''' | |
| 142 \usepackage{inconsolata} | |
| 143 ''', | |
| 144 | |
| 145 'fontpkg': r''' | |
| 146 \usepackage{charter} | |
| 147 \usepackage[defaultsans]{lato} | |
| 148 ''', | |
| 139 | 149 |
| 140 # Latex figure (float) alignment | 150 # Latex figure (float) alignment |
| 141 # | 151 # |
| 142 # 'figure_align': 'htbp', | 152 # 'figure_align': 'htbp', |
| 143 # Use "Version" instead of "Release" on the title | 153 # Use "Version" instead of "Release" on the title |
| 151 (master_doc, 'ConfigMix.tex', 'Documentation for the “configmix” Package', | 161 (master_doc, 'ConfigMix.tex', 'Documentation for the “configmix” Package', |
| 152 'Franz Glasner', 'manual', True), | 162 'Franz Glasner', 'manual', True), |
| 153 ] | 163 ] |
| 154 | 164 |
| 155 latex_show_urls = 'footnote' | 165 latex_show_urls = 'footnote' |
| 156 latex_show_pagerefs = True | 166 #latex_show_pagerefs = True |
| 157 | 167 |
| 158 | 168 |
| 159 # -- Options for manual page output ------------------------------------------ | 169 # -- Options for manual page output ------------------------------------------ |
| 160 | 170 |
| 161 # One entry per manual page. List of tuples | 171 # One entry per manual page. List of tuples |
| 187 | 197 |
| 188 # -- Options for todo extension ---------------------------------------------- | 198 # -- Options for todo extension ---------------------------------------------- |
| 189 | 199 |
| 190 # If true, `todo` and `todoList` produce output, else they produce nothing. | 200 # If true, `todo` and `todoList` produce output, else they produce nothing. |
| 191 todo_include_todos = True | 201 todo_include_todos = True |
| 202 | |
| 203 # -- Options for autodoc ----------------------------------------------------- | |
| 204 | |
| 205 autodoc_member_order = 'bysource' | |
| 206 autoclass_content = 'both' |
