# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['fig', 'vref', 'graphviz', 'sphinx.ext.pngmath']
+extensions = [
+ 'aafig',
+ 'fig',
+ 'vref',
+ 'sphinx.ext.graphviz',
+ 'sphinx.ext.pngmath',
+]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['.templates']
latex_paper_size = 'a4'
# The font size ('10pt', '11pt' or '12pt').
-latex_font_size = '10pt'
+latex_font_size = '11pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
# Additional stuff for the LaTeX preamble.
latex_preamble = r'''
-\usepackage{varioref}
+\usepackage{varioref} % XXX: breaks PDF index
\usepackage{subfigure}
\setcounter{tocdepth}{2}
'''
# If false, no module index is generated.
latex_use_modindex = False
+# aafig default options
+aafig_default_options = dict(
+ proportional = True,
+ aspect = 0.5,
+)
+