X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/6b0e6dade5cc359249022b433195dc98c1c871e2..12b4722b4c418b9d60d75c0acdd9e5cac133af6a:/source/conf.py diff --git a/source/conf.py b/source/conf.py index bbf1ec0..a8721fc 100644 --- a/source/conf.py +++ b/source/conf.py @@ -22,7 +22,7 @@ sys.path.append(os.path.abspath('../ext')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['graphviz', 'sphinx.ext.pngmath'] +extensions = ['aafig', 'fig', 'vref', 'graphviz', 'sphinx.ext.pngmath'] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] @@ -186,8 +186,9 @@ latex_logo = 'fiuba.png' # Additional stuff for the LaTeX preamble. latex_preamble = r''' +\usepackage{varioref} % XXX: breaks PDF index \usepackage{subfigure} -\setcounter{tocdepth}{3} +\setcounter{tocdepth}{2} ''' # Documents to append as an appendix to all manuals. @@ -196,3 +197,10 @@ latex_preamble = r''' # If false, no module index is generated. latex_use_modindex = False +# aafig default options +aafig_default_options = dict( + proportional = True, + scale = 1.3, + aspect = 0.5, +) +