I have a problem with fancyhdr package, it prints the header in the table of contents, index of figures, bibliography and the first chapter. From chapter 2 and throughout all the chapters I have no header (but I have the page number in the foot). In the first chapter it works all fine, it prints numberofchapter.numberofsection nameofsection but the header disappears from chapter 2.
Please help me, here's the code
Code: Select all
\documentclass[a4paper,11pt]{report}
\usepackage[latin1]{inputenc}
\usepackage[italian]{babel}
\usepackage{geometry}
\geometry{left=2.5cm}
\geometry{right=2.5cm}
\geometry{top=3cm}
\geometry{bottom=2cm}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\lhead{}
\chead{}
\rhead{\nouppercase{\rightmark}}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\begin{document}
\begin{titlepage}