X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/d256570cee57e5f6a7e010dfd7aae3dd21ee2236..93304243d72347314f0d9c402a0632ab50550016:/source/conf.py?ds=sidebyside diff --git a/source/conf.py b/source/conf.py index db52cc9..59891b9 100644 --- a/source/conf.py +++ b/source/conf.py @@ -22,7 +22,14 @@ 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 = ['fig', 'vref', 'graphviz', 'sphinx.ext.pngmath'] +extensions = [ + 'aafig', + 'fig', + 'ftable', + 'vref', + 'sphinx.ext.graphviz', + 'sphinx.ext.pngmath', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] @@ -83,6 +90,9 @@ exclude_trees = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# The default language to highlight source code in. The default is 'python'. +highlight_language = 'd' + # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] @@ -167,7 +177,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]). @@ -186,9 +196,9 @@ latex_logo = 'fiuba.png' # Additional stuff for the LaTeX preamble. latex_preamble = r''' -\usepackage{varioref} -\usepackage{subfigure} -\setcounter{tocdepth}{3} +\usepackage[draft]{varioref} % XXX: breaks PDF index, use [final] when done +\usepackage{subfig} +\setcounter{tocdepth}{2} ''' # Documents to append as an appendix to all manuals. @@ -197,3 +207,9 @@ latex_preamble = r''' # If false, no module index is generated. latex_use_modindex = False +# aafig default options +aafig_default_options = dict( + proportional = True, + aspect = 0.5, +) +