<div>Hello!</div>
<div>&nbsp;</div>
<div>I want to set the same footer in all main pages of a book. I use the following code.</div>
<div>&nbsp;</div>
<div>\pagestyle{fancy}<br>\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \thechapter.\ #1}}<br>\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}<br>\lhead[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{\bfseries\rightmark}}
<br>\chead[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{}}<br>\rhead[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{\bfseries\thepage}}<br>\lfoot[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{}}<br>\cfoot[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{}}
<br>\rfoot[\fancyplain{}{}]%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\fancyplain{}{ \includegraphics{footer.eps}}}</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>The problem is, for instance, the image footer.eps only appears in 2 pages of a 19 page document. Why? How can I do it to appear in all pages?</div>
<div>&nbsp;</div>
<div>Tks!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>