X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/d4b51bb3e136e607b99343536e4be8d942742ab2..be8ea0ac4258c694b84fed29e6ccf4e79aa34ae4:/source/conf.py?ds=sidebyside diff --git a/source/conf.py b/source/conf.py index c6e161e..f3c7f2c 100644 --- a/source/conf.py +++ b/source/conf.py @@ -16,7 +16,7 @@ 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('../ext')) +sys.path.insert(0, os.path.abspath('../ext')) # -- General configuration ----------------------------------------------------- @@ -24,8 +24,10 @@ sys.path.append(os.path.abspath('../ext')) # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'aafig', - 'fig', + 'flt', + 'fixdl', 'vref', + 'pcodehl', 'sphinx.ext.graphviz', 'sphinx.ext.pngmath', ] @@ -44,7 +46,7 @@ master_doc = 'index' # General information about the project. project = u'tesis' -copyright = u'2009, Leandro Lucarella' +copyright = u'2010, Leandro Matías Lucarella' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -63,7 +65,7 @@ language = 'es' # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. -today_fmt = '%B de %Y' +today_fmt = 'Octubre 2010' # List of documents that shouldn't be included in the build. #unused_docs = [] @@ -90,7 +92,7 @@ exclude_trees = [] pygments_style = 'sphinx' # The default language to highlight source code in. The default is 'python'. -highlight_language = 'd' +highlight_language = 'pcode' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] @@ -182,12 +184,12 @@ latex_font_size = '11pt' # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'tesis.tex', u'Recolección de basura en D', - u'Leandro Lucarella', 'manual'), + u'Leandro Matías Lucarella', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. -latex_logo = 'fiuba.png' +latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. @@ -195,8 +197,20 @@ latex_logo = 'fiuba.png' # Additional stuff for the LaTeX preamble. latex_preamble = r''' -\usepackage[draft]{varioref} % XXX: breaks PDF index, use [final] when done -\usepackage{subfigure} +\usepackage{epigraph} +\usepackage[final]{varioref} % XXX: breaks PDF index, use [final] when done +\usepackage{subfig} +% Relaja restricciones de LaTeX para floats, ver: +% http://mintaka.sdsu.edu/GF/bibliog/latex/floats.html +% http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats +\renewcommand{\topfraction}{.7} +\renewcommand{\bottomfraction}{.7} +\renewcommand{\textfraction}{.05} +\renewcommand{\floatpagefraction}{.7} +\setcounter{topnumber}{1} +\setcounter{bottomnumber}{1} +\setcounter{totalnumber}{4} +% Profundida maxima de tabla de contenidos \setcounter{tocdepth}{2} '''