mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: avoid "The remreset package is obsolete" warnings in latex log
This commit is contained in:
parent
e955bccf2b
commit
f5e38f4010
@ -183,7 +183,10 @@
|
|||||||
% control caption around literal-block
|
% control caption around literal-block
|
||||||
\RequirePackage{capt-of}
|
\RequirePackage{capt-of}
|
||||||
\RequirePackage{needspace}
|
\RequirePackage{needspace}
|
||||||
\RequirePackage{remreset}% provides \@removefromreset
|
% LaTeX 2018-04-01 and later provides \@removefromreset
|
||||||
|
\ltx@ifundefined{@removefromreset}
|
||||||
|
{\RequirePackage{remreset}}
|
||||||
|
{}% avoid warning
|
||||||
% to make pdf with correct encoded bookmarks in Japanese
|
% to make pdf with correct encoded bookmarks in Japanese
|
||||||
% this should precede the hyperref package
|
% this should precede the hyperref package
|
||||||
\ifx\kanjiskip\@undefined
|
\ifx\kanjiskip\@undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user