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
|
\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
|
||||||
|
Loading…
Reference in New Issue
Block a user