X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/33491a11f7a8e3e0ea15b8df2374f591956179af..d8e0ffaf45ad8f5b8638399202914ef313768b1c:/source/conf.py?ds=inline diff --git a/source/conf.py b/source/conf.py index e589ed7..cc3bb25 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 = ['fig', 'vref', 'graphviz', 'sphinx.ext.pngmath'] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] @@ -185,7 +185,11 @@ latex_logo = 'fiuba.png' #latex_use_parts = False # Additional stuff for the LaTeX preamble. -latex_preamble = '\setcounter{tocdepth}{3}' +latex_preamble = r''' +\usepackage{varioref} % XXX: breaks PDF index +\usepackage{subfigure} +\setcounter{tocdepth}{2} +''' # Documents to append as an appendix to all manuals. #latex_appendices = []