The little script I run to create my book is listed here:
pdflatex shaw
pdflatex shaw
makeindex shaw
My base file is listed here:
\documentclass[english,10pt,a4paper]{memoir}
\usepackage{graphics} % Packages to allow inclusion of graphics
\usepackage{color} % For creating colored text and
background
\usepackage{multirow}
% \usepackage{array}
\usepackage{fancybox}
\parskip 0.1in
\pagenumbering{arabic}
\setlength{\unitlength}{1cm} % for the picture environment
\setlength\fboxsep{0.1in}
\settrimmedsize{297mm}{210mm}{*} % a4 dimensions
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{634pt}{448.13pt}{*}
\setulmargins{*}{4cm}{*}
\setlrmargins{*}{*}{1.5}
\setmarginnotes{17pt}{51pt}{\onelineskip}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}
\checkandfixthelayout
\usepackage{babel,blindtext}
\let\footruleskip\relax % for compatibility of memoir and
fancyhdr
\let\rm\rmfamily % for compatibility of memoir and
blindtext (demo only)
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\leftmark}
\fancyhead[RE]{\thetitle}
\fancyfoot{}
\sloppy
\usepackage{makeidx}
\makeindex
\title{The Descendents of Herman Shaw}
\author{My Name}
\date{July 11, 2010}
%-----------------------------------------------------------
\begin{document}
\setcounter{chapter}{-1}
\setcounter{tocdepth}{4}
\maketitle
\cleardoublepage
\pagenumbering{arabic}
\tableofcontents*
\raggedright
\chapter*{Preface}\normalsize
[text deleted]
\chapter*{Introduction}\normalsize
[text deleted]
%-----------------------------------------------------------
\setcounter{secnumdepth}{5}
\include{chap0}
\include{chap1}
\include{chap2}
\include{chap3}
%-----------------------------------------------------------
\include{biblio}
%-----------------------------------------------------------
\printindex
\end{document}
Please post the first lines of biblio.tex, maybe something gets mixed up
there.
Uwe
what Uwe said
... and there is no reason to use fancyhdr with memoir
check biblio for any \addcontentsline's, memoir adds the bibliography to
the toc by default whereas the standard classes does not.
/daleif
Thank you, Uwe and Lars. As soon as I saw the biblio.tex file, I saw
what was
happening. I had
\begin{thebibliography}{99}
\addcontentsline{toc}{chapter}{Bibliography}
in there. So, I commented the second line out and all is well. Thank
you both.
As for fancyhdr, I like how my book looks with it. I have a few
problems to
clear up, but the headers look great (I would like to get the chapter
names to
be title case, rather than upper case, but overall it looks good to
me. I would
try other suggestions though, especially from you guys.
Roy
as far as I can see what you do is similar to the default headings page
style in memoir
so it would be as simple as
\copypagestyle{paladin}{headings}
\makeevenhead{paladin}{\thetitle}{}{\thepage}
\nouppercaseheads % remove the uppercasing
\pagestyle{paladin}
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html
It worked perfectly. I got rid of fancyhdr and still have fancy
headers! Thank you.