Mercurial > hgrepos > Python > libs > ConfigMix
changeset 67:9d0d9446de08
Annotate LaTeX output with page numbers and show URL targets in the footnotes.
Also change the paper size to A4.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 01 Mar 2018 12:26:37 +0100 |
| parents | e78f307f81a0 |
| children | 706833f38712 |
| files | doc/conf.py |
| diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/conf.py Thu Mar 01 11:22:47 2018 +0100 +++ b/doc/conf.py Thu Mar 01 12:26:37 2018 +0100 @@ -65,7 +65,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -119,7 +119,7 @@ latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # - # 'papersize': 'letterpaper', + 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). # @@ -132,6 +132,8 @@ # Latex figure (float) alignment # # 'figure_align': 'htbp', + # Use "Version" instead of "Release" on the title + 'releasename': 'Version', } # Grouping the document tree into LaTeX files. List of tuples @@ -142,6 +144,9 @@ 'Franz Glasner', 'manual', True), ] +latex_show_urls = 'footnote' +latex_show_pagerefs = True + # -- Options for manual page output ------------------------------------------
