Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\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?

share|improve this question
2  
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
add comment

1 Answer 1

up vote 5 down vote accepted

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}
share|improve this answer
    
Exactly :) Thanks –  Ichibann Oct 2 '11 at 14:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.