fix forgotten needed redefinitions in sphinx.sty for jsclasses

This commit is contained in:
jfbu 2016-10-11 23:12:27 +02:00
parent b0a3b6cbc0
commit 9826be6f69

View File

@ -923,16 +923,15 @@
% fix the double index and bibliography on the table of contents
% in jsclasses (Japanese standard document classes)
\ifx\@jsc@uplatextrue\undefined\else
\renewcommand{\theindex}{
\cleardoublepage
\phantomsection
\py@OldTheindex
}
\renewcommand{\thebibliography}[1]{
\cleardoublepage
\phantomsection
\py@OldThebibliography{1}
}
\renewenvironment{sphinxtheindex}
{\cleardoublepage\phantomsection
\begin{theindex}}
{\end{theindex}}
\renewenvironment{sphinxthebibliography}[1]
{\cleardoublepage\phantomsection
\begin{thebibliography}{\detokenize{#1}}}
{\end{thebibliography}}
\fi
% disable \@chappos in Appendix in pTeX