Fix #2679: (latex) load package float for 'H' value of 'figure_align'

This commit is contained in:
jfbu
2016-06-19 20:50:50 +02:00
parent 6929d546c8
commit 3650663bb3
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ Bugs fixed
* #2676: (latex) Error with verbatim text in captions since Sphinx 1.4.4
* #2629: memoir class crashes LaTeX. Fixed ``by latex_keep_old_macro_names=False`` (ref 2675)
* #2684: `sphinx.ext.intersphinx` crashes with six-1.4.1
* #2679: ``float`` package needed for ``'figure_align': 'H'`` latex option
Release 1.4.4 (released Jun 12, 2016)

View File

@@ -59,6 +59,9 @@
\RequirePackage{alltt}
% Display "real" single quotes in literal blocks.
\RequirePackage{upquote}
% For the H specifier. Do not \restylefloat{figure}, it breaks Sphinx code
% for allowing figures in tables.
\RequirePackage{float}
% Redefine these colors to your liking in the preamble.
\definecolor{TitleColor}{rgb}{0.126,0.263,0.361}