diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/preamble.tex | 11 |
1 files changed, 4 insertions, 7 deletions
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 @@ | |||
59 | } | 59 | } |
60 | 60 | ||
61 | % fancy header style adjustments | 61 | % fancy header style adjustments |
62 | %\renewcommand{\chaptermark}[1]{\markboth{#1}{}} | ||
63 | %\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} | ||
64 | \renewcommand{\rightmark}[1]{\thechapter\ } | ||
65 | \fancyhead{} | 62 | \fancyhead{} |
66 | \fancyfoot{} | 63 | \fancyfoot{} |
67 | \fancyhead[L]{{\textsc{\leftmark}}} | 64 | \fancyhead[L]{{\nouppercase{\textsc{\leftmark}}}} |
68 | \fancyhead[R]{\iffloatpage{}{\thepage}} | 65 | \fancyhead[R]{\iffloatpage{}{\thepage}} |
69 | \fancyfoot[L]{\textsc{The Rockbox manual}} | 66 | \fancyfoot[L]{\textsc{The Rockbox manual}} |
70 | \fancyfoot[R]{\textsc{\playerman{} \playertype}} | 67 | \fancyfoot[R]{\textsc{\playerman{} \playertype}} |
68 | \fancypagestyle{plain}{} | ||
71 | 69 | ||
72 | \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}} | 70 | \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}} |
73 | \renewcommand{\footrulewidth}{\iffloatpage{0pt}{0.4pt}} | 71 | \renewcommand{\footrulewidth}{\iffloatpage{0pt}{0.4pt}} |
@@ -261,13 +259,12 @@ | |||
261 | 259 | ||
262 | % Use the reference to handle get a flexible reference command | 260 | % Use the reference to handle get a flexible reference command |
263 | % usage \reference{ref_section} | 261 | % usage \reference{ref_section} |
264 | \ifpdfoutput{ | 262 | \ifpdfoutput{% |
265 | \newcommand{\reference}[1]{% | 263 | \newcommand{\reference}[1]{% |
266 | section \ref{#1} (page \pageref{#1}) | 264 | section \ref{#1} (page \pageref{#1})% |
267 | }} | 265 | }} |
268 | {\newcommand{\reference}[1]{section \ref{#1}}} | 266 | {\newcommand{\reference}[1]{section \ref{#1}}} |
269 | 267 | ||
270 | % special HTML output adjustments | 268 | % special HTML output adjustments |
271 | \ifpdfoutput{}{\setlength{\parindent}{0mm}} | 269 | \ifpdfoutput{}{\setlength{\parindent}{0mm}} |
272 | \ifpdfoutput{}{\renewcommand{\Forward}[1]{$\triangleright${}#1}} | 270 | \ifpdfoutput{}{\renewcommand{\Forward}[1]{$\triangleright${}#1}} |
273 | |||