Merge pull request #2619 from jfbu/latex_alwaysamstext

LaTeX: load amstext in sphinx.sty even if not using amsmath
This commit is contained in:
Takeshi KOMIYA 2016-06-05 09:13:52 +09:00
commit bb360d8984
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Bugs fixed
* #2614: Some tables in PDF output will end up shifted if user sets non zero \parindent in preamble
* #2602: URL redirection breaks the hyperlinks generated by `sphinx.ext.intersphinx`
* #2613: Show warnings if merged extensions are loaded
* #2619: make sure amstext LaTeX package always loaded (ref: d657225, 488ee52, 9d82cad and #2615)
Release 1.4.2 (released May 29, 2016)

View File

@ -10,6 +10,8 @@
\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
% for \text macro and \iffirstchoice@ conditional even if amsmath not loaded
\RequirePackage{amstext}
\RequirePackage{textcomp}
% fancybox not used anymore and will be removed at Sphinx-1.5
\RequirePackage{fancybox}