'fig',
'ftable',
'vref',
+ 'pcodehl',
'sphinx.ext.graphviz',
'sphinx.ext.pngmath',
]
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 = []
# Additional stuff for the LaTeX preamble.
latex_preamble = r'''
-\usepackage[draft]{varioref} % XXX: breaks PDF index, use [final] when done
+\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}
'''