diff --git a/layout/hp-book.sty b/layout/hp-book.sty index 4244326f..fb2858c1 100644 --- a/layout/hp-book.sty +++ b/layout/hp-book.sty @@ -65,7 +65,7 @@ \renewcommand*{\printchapternum}{% \chapnumfont \hyperref[contents]{\textls[30]{ -\IfInteger{\thechapter}{\NUMBERstring{chapter}}{\thechapter} +\IfInteger{\thechapter}{\the\value{chapter}}{\thechapter} }}} \renewcommand*{\printchaptername}{% diff --git a/layout/hp-contents.tex b/layout/hp-contents.tex index f562a345..55964f41 100644 --- a/layout/hp-contents.tex +++ b/layout/hp-contents.tex @@ -22,7 +22,7 @@ \renewcommand*{\cftchapterfont}{} \renewcommand\partnumberline[1]{\hfil\thispagestyle{empty}{\hpfont\textls[30]{\large\MakeUppercase{\partname} #1}}\hfil\strut\par\nopagebreak\hfil} -\renewcommand\chapternumberline[1]{\hfil\thispagestyle{empty}{\hpfont\textls[30]{\IfInteger{#1}{\NUMBERstringnum{#1}}{Appendix #1}}}\hfil\strut\par\nopagebreak\hfil} +\renewcommand\chapternumberline[1]{\hfil\thispagestyle{empty}{\hpfont\textls[30]{\IfInteger{#1}{\the\value{#1}}{Appendix #1}}}\hfil\strut\par\nopagebreak\hfil} \settocdepth{chapter} \phantomsection diff --git a/layout/hp-format.tex b/layout/hp-format.tex index 5c5327b0..28555527 100644 --- a/layout/hp-format.tex +++ b/layout/hp-format.tex @@ -1,7 +1,6 @@ % This file includes all the generic formatting for HPatMoR. This mostly entails configuring % the memoir package, though “configuring” on occasion means “completely messing it up”. -\RequirePackage{fmtcount} \RequirePackage{calc} % Fonts used generally (specific fonts used only once or twice are not here).