mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix broken hyperlinks to chapters in appendix in Japanese environment
This commit is contained in:
parent
b048ea1edf
commit
ec623034cc
@ -508,13 +508,11 @@
|
||||
}
|
||||
\fi
|
||||
|
||||
% do not use \@chappos in Appendix in pTeX
|
||||
% disable \@chappos in Appendix in pTeX
|
||||
\ifx\kanjiskip\undefined\else
|
||||
\renewcommand{\appendix}{\par
|
||||
\setcounter{chapter}{0}
|
||||
\setcounter{section}{0}
|
||||
\gdef\@chapapp{\appendixname}
|
||||
\gdef\@chappos{}
|
||||
\gdef\thechapter{\@Alph\c@chapter}
|
||||
\let\py@OldAppendix=\appendix
|
||||
\renewcommand{\appendix}{
|
||||
\py@OldAppendix
|
||||
\gdef\@chappos{}
|
||||
}
|
||||
\fi
|
||||
|
Loading…
Reference in New Issue
Block a user