# How can I get a page number on the last page of a chapter with the mwrep class?

\documentclass[12pt,a4paper]{mwrep}
\begin{document}
\chapter{Chapter 1}
Text \pagebreak

Text \pagebreak

Text
\chapter{Chapter 2}
Text
\end{document}


This does not generate page number on last page within chapter. How can I change that?

-
From a reading of mwrep.cls it seems that it does it by design. But I'd consider this behavior a bug rather than good design. –  egreg Oct 2 '11 at 13:58
@egreg: Nice interpretation ;-) –  Marco Daniel Oct 2 '11 at 14:09
there is a message in the log from a job run from mwrep that clearly says "Beta version. Formatting may change in future versions of this class." i suggest writing to the author, whose e-mail address is given in the readme file, viewable with texdoc mwrep. –  barbara beeton Oct 2 '11 at 14:21

Do you mean something like this.

\documentclass[12pt,a4paper]{mwrep}
\makeatletter
\let\ps@closing\ps@plain
\makeatother
\begin{document}
\chapter{Chapter 1}
Text \pagebreak

Text \pagebreak

Text
\chapter{Chapter 2}
Text
\end{document}

-
Exactly :) Thanks –  Ichibann Oct 2 '11 at 14:04