Commits

Akihiro Uchida  committed da398a9

do not use \@chappos in Appendix with pTeX

  • Participants
  • Parent commits ec72f22

Comments (0)

Files changed (1)

File sphinx/texinputs/sphinx.sty

     \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