title: Frustration with fancyhdr
body: <p>I have the following tex document:</p>
  
  <pre><code>\documentclass[a4paper,11pt,oneside]{book}
  \usepackage[usenames,dvipsnames]{color}
  \usepackage[T1]{fontenc}
  \usepackage[utf8x]{inputenc}
  \usepackage{lipsum}
  \usepackage[left=2cm,top=3cm,right=1.5cm,bottom=2cm]{geometry}
  
  \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
  \renewcommand{\sectionmark}[1]{\markright{#1}{}}
  \renewcommand{\subsectionmark}[1]{\markright{\thesubsection}{}}
  
  \usepackage[Lenny]{fncychap}
  \usepackage{thumbpdf}
  \usepackage[colorlinks]{hyperref}
  \setlength\marginparwidth{1cm}
  \usepackage{fancyhdr}
  
  \pagestyle{fancy}
  \fancyhead[LO,L]{Book template}
  \fancyhead[RO,R]{\rightmark}
  \fancyfoot[CO,C] {\thepage}
  
  \begin{document}
  \chapter{Chapter Intro}
  \lipsum
  \chapter{Chapter with subsections}
  \section{section foo}
  \lipsum
  \subsection{subsection bar}
  \lipsum
  \end{document}
  </code></pre>
  
  <p>A sample can be viewed at <a href="http://www.mediafire.com/?0m5mnka32kj" rel="nofollow noreferrer">http://www.mediafire.com/?0m5mnka32kj</a></p>
  
  <p>On the top right:</p>
  
  <ul>
  <li>How to make it show the chapter title if there is no section, as on page 2?</li>
  <li>How to make it show the section title and nothing but the section title (no numbers, no subsections, subsubsections, etc) if there is an active section, as it's the case on page 4?</li>
  </ul>
  
  <p>Thanks</p>