Fix broken hyperlinks to chapters in appendix in Japanese environment

This commit is contained in:
Akihiro Uchida 2013-12-08 14:19:15 +09:00
parent b048ea1edf
commit ec623034cc

View File

@ -508,13 +508,11 @@
} }
\fi \fi
% do not use \@chappos in Appendix in pTeX % disable \@chappos in Appendix in pTeX
\ifx\kanjiskip\undefined\else \ifx\kanjiskip\undefined\else
\renewcommand{\appendix}{\par \let\py@OldAppendix=\appendix
\setcounter{chapter}{0} \renewcommand{\appendix}{
\setcounter{section}{0} \py@OldAppendix
\gdef\@chapapp{\appendixname}
\gdef\@chappos{} \gdef\@chappos{}
\gdef\thechapter{\@Alph\c@chapter}
} }
\fi \fi