Remove deprecated latex features at 1.7

notice environment, loading of packages eqparbox and multirow
This commit is contained in:
jfbu 2017-05-01 18:12:59 +02:00
parent e8d8a11b56
commit 609a08660e
2 changed files with 0 additions and 18 deletions

View File

@ -25,16 +25,6 @@
\usepackage<%= sphinxpkgoptions %>{sphinx}
<%= sphinxsetup %>
<%= geometry %>
\usepackage{multirow}
\let\originalmutirow\multirow\protected\def\multirow{%
\sphinxdeprecationwarning{\multirow}{1.6}{1.7}
{Sphinx does not use package multirow. Its loading will be removed at 1.7.}%
\originalmultirow}%
\usepackage{eqparbox}
\let\originaleqparbox\eqparbox\protected\def\eqparbox{%
\sphinxdeprecationwarning{\eqparbox}{1.6}{1.7}
{Sphinx does not use package eqparbox. Its loading will be removed at 1.7.}%
\originaleqparbox}%
<%= usepackages %>
<%= hyperref %>
<%= contentsname %>

View File

@ -1159,14 +1159,6 @@
\begin{sphinx#1}{#2}}
% in end part, need to go around a LaTeX's "feature"
{\edef\spx@temp{\noexpand\end{sphinx\spx@noticetype}}\spx@temp}
% use of ``notice'' is for backwards compatibility and will be removed in
% Sphinx 1.7.
\newenvironment{notice}
{\sphinxdeprecationwarning {notice}{1.6}{1.7}{%
This document was probably built with a Sphinx extension using ``notice''^^J
environment. At Sphinx 1.7, ``notice'' environment will be removed. Please^^J
report to extension author to use ``sphinxadmonition'' instead.^^J%
****}\begin{sphinxadmonition}}{\end{sphinxadmonition}}
%% PYTHON DOCS MACROS AND ENVIRONMENTS