From c9bb152a33fc293955b4b60170deb40c34857072 Mon Sep 17 00:00:00 2001
From: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Date: Sun, 13 Aug 2006 18:55:59 +0000
Subject: - kill an additional space \reference introduced for us - don't
 uppercase headings to make it similar with the footer. Also use the same
 headings for plain style pages.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10561 a1c6a512-1295-4272-9138-f99709370657
---
 manual/preamble.tex | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

(limited to 'manual/preamble.tex')

diff --git a/manual/preamble.tex b/manual/preamble.tex
index ffdaacc8ed..c28b42a5b3 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -59,15 +59,13 @@
   }
 
 % fancy header style adjustments
-%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
-%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
-\renewcommand{\rightmark}[1]{\thechapter\ }
 \fancyhead{}
 \fancyfoot{}
-\fancyhead[L]{{\textsc{\leftmark}}}
+\fancyhead[L]{{\nouppercase{\textsc{\leftmark}}}}
 \fancyhead[R]{\iffloatpage{}{\thepage}}
 \fancyfoot[L]{\textsc{The Rockbox manual}}
 \fancyfoot[R]{\textsc{\playerman{} \playertype}}
+\fancypagestyle{plain}{}
 
 \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}
 \renewcommand{\footrulewidth}{\iffloatpage{0pt}{0.4pt}}
@@ -261,13 +259,12 @@
 
 % Use the reference to handle get a flexible reference command
 % usage \reference{ref_section}
-\ifpdfoutput{
+\ifpdfoutput{%
   \newcommand{\reference}[1]{%
-    section \ref{#1} (page \pageref{#1})
+    section \ref{#1} (page \pageref{#1})%
 }}
 {\newcommand{\reference}[1]{section \ref{#1}}}
 
 % special HTML output adjustments
 \ifpdfoutput{}{\setlength{\parindent}{0mm}}
 \ifpdfoutput{}{\renewcommand{\Forward}[1]{$\triangleright${}#1}}
-
-- 
cgit v1.2.3

