diff --git a/sphinx/templates/latex/longtable.tex_t b/sphinx/templates/latex/longtable.tex_t index b7310a780..5a151808c 100644 --- a/sphinx/templates/latex/longtable.tex_t +++ b/sphinx/templates/latex/longtable.tex_t @@ -25,8 +25,5 @@ \endfoot \endlastfoot -<% if table.caption_footnotetexts -%> -<%= ''.join(table.caption_footnotetexts) %> -<% endif -%> <%= ''.join(table.body) %> \end{longtable}\sphinxatlongtableend\end{savenotes} diff --git a/sphinx/templates/latex/tabular.tex_t b/sphinx/templates/latex/tabular.tex_t index 3fd347e53..a35d2b2cb 100644 --- a/sphinx/templates/latex/tabular.tex_t +++ b/sphinx/templates/latex/tabular.tex_t @@ -18,9 +18,6 @@ \begin{tabular}[t]<%= table.get_colspec() -%> \hline <%= ''.join(table.header) %> -<%- if table.caption_footnotetexts -%> -<%= ''.join(table.caption_footnotetexts) -%> -<%- endif -%> <%=- ''.join(table.body) %> \end{tabular} \par diff --git a/sphinx/templates/latex/tabulary.tex_t b/sphinx/templates/latex/tabulary.tex_t index 16d15192b..331ef845d 100644 --- a/sphinx/templates/latex/tabulary.tex_t +++ b/sphinx/templates/latex/tabulary.tex_t @@ -18,9 +18,6 @@ \begin{tabulary}{\linewidth}[t]<%= table.get_colspec() -%> \hline <%= ''.join(table.header) %> -<%- if table.caption_footnotetexts -%> -<%= ''.join(table.caption_footnotetexts) -%> -<%- endif -%> <%=- ''.join(table.body) %> \end{tabulary} \par diff --git a/tests/roots/test-stylesheets/conf.py b/tests/roots/test-stylesheets/conf.py index 0696e35c2..cae940080 100644 --- a/tests/roots/test-stylesheets/conf.py +++ b/tests/roots/test-stylesheets/conf.py @@ -6,7 +6,7 @@ templates_path = ['_templates'] def setup(app): - app.add_stylesheet('persistent.css') - app.add_stylesheet('default.css', title="Default") - app.add_stylesheet('alternate1.css', title="Alternate", alternate=True) - app.add_stylesheet('alternate2.css', alternate=True) + app.add_css_file('persistent.css') + app.add_css_file('default.css', title="Default") + app.add_css_file('alternate1.css', title="Alternate", rel="alternate stylesheet") + app.add_css_file('alternate2.css', rel="alternate stylesheet")