diff options
| author | Akihiro Uchida <uchida@ike-dyn.ritsumei.ac.jp> | 2011-11-09 20:58:13 +0900 |
|---|---|---|
| committer | Akihiro Uchida <uchida@ike-dyn.ritsumei.ac.jp> | 2011-11-09 20:58:13 +0900 |
| commit | 7740cbd739a5cd7112028677f9e4ac40f853a8de (patch) | |
| tree | 405df88a96801dcec0c07949978295af7225f681 /sphinx/texinputs | |
| parent | 78dba4c99d92b697ad5a78f1c0fdeb883176163a (diff) | |
| download | sphinx-7740cbd739a5cd7112028677f9e4ac40f853a8de.tar.gz | |
do not use \@chappos in Appendix with pTeX
Diffstat (limited to 'sphinx/texinputs')
| -rw-r--r-- | sphinx/texinputs/sphinx.sty | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 46cd2a1f..54e85677 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -521,3 +521,14 @@ \py@OldThebibliography{1} } \fi + +% do not use \@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} + } +\fi |
