X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/b0956c037ae52da777b06705157486067755ec2c..15b868186b7ca1853b52a34ace0865f1cc24c677:/source/conf.py?ds=sidebyside diff --git a/source/conf.py b/source/conf.py index 3d6114e..4af0041 100644 --- a/source/conf.py +++ b/source/conf.py @@ -16,13 +16,19 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.append(os.path.abspath('.')) +sys.path.append(os.path.abspath('../ext')) # -- General configuration ----------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [] +extensions = [ + 'aafig', + 'fig', + 'vref', + 'sphinx.ext.graphviz', + 'sphinx.ext.pngmath', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] @@ -167,7 +173,7 @@ htmlhelp_basename = 'tesisdoc' 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]). @@ -185,7 +191,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 = [] @@ -193,3 +203,9 @@ latex_preamble = '\setcounter{tocdepth}{3}' # If false, no module index is generated. latex_use_modindex = False +# aafig default options +aafig_default_options = dict( + proportional = True, + aspect = 0.5, +) +