# 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']
# Additional stuff for the LaTeX preamble.
latex_preamble = r'''
+\usepackage{varioref}
\usepackage{subfigure}
\setcounter{tocdepth}{3}
'''