X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/6eefbae7d9d9a1e30f7637ecc41f56a21dc93567..409ef528d2b45bdcbcd6868b3d0f82c1edf8e748:/source/conf.py diff --git a/source/conf.py b/source/conf.py index 23ed3a0..26636a3 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,7 @@ sys.path.append(os.path.abspath('../ext')) # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'aafig', - 'fig', - 'ftable', + 'flt', 'vref', 'pcodehl', 'sphinx.ext.graphviz', @@ -197,8 +196,20 @@ latex_logo = None # Additional stuff for the LaTeX preamble. latex_preamble = r''' -\usepackage[draft]{varioref} % XXX: breaks PDF index, use [final] when done +\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} '''