I've been writing a user manual for the past couple days and have come up against a bit of a wall. The table of contents for my manual is going to end up longer than a page and I want it to look a certain way.
I've made a page-sized image that I'm using as a background for each of the chapter pages as well as the TOC and LOF. Additionally, the first page of the manual is currently a pdf that I'm just inserting at the very front. I'll include all the code below with my comments on what the issues are, but basically, after one page of the TOC, the background image that I create is disappearing and is being replaced with the plain pagestyle I have also defined within the code.
I've tried a number of different things like suppressing \thispagestyle, defining a custom empty pagestyle, and using \tocloftpagestyle but none of them are actually functional (especially \tocloftpagestyle as LaTeX is saying that the command doesn't actually exist). Is there something I'm doing wrong or is this as difficult as I'm starting to think?
Here's a stripped down sample of the code:
\documentclass[11pt, twoside, openany]{memoir}
%\usepackage{showframe}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage[top=1.25in,bottom=1.25in,left=1.25in,right=1.25in]{geometry}
\usepackage[]{fancyhdr}
\usepackage{pdfpages}
\usepackage{helvet}
\usepackage{overpic}
\usepackage{wallpaper}
\usepackage{graphicx}
\usepackage{etoolbox}
\usepackage{tikz}
\usepackage{tocloft}
%end of dependencies
\fancypagestyle{plain}{
%%Scrapped together code here to create a cool header
}
%%PROBLEM ONE: Redefining empty to put background images on the TOC prevents includepdf from working as it sets the page to empty.
%Also it only works for the first page of the TOC
\fancypagestyle{empty}{
\fancyhf{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}
\ThisCenterWallPaper{1}{./FinalImages/ChapterPage}
}
%%PROBLEM TWO: If I remove this section and put something like this:
%\tableofcontents
%\ThisCenterWallPaper{1}{./FinalImages/ChapterPage}
%\thispagestyle{empty}
% for both the TOC and the LOF, it only works for the last page of those respective items
\begin{document}
\includepdf{./FinalImages/FirstPage}
\setcounter{tocdepth}{5}
\pagestyle{empty}
\tableofcontents
\newpage
\listoffigures
\clearpage
\pagestyle{plain}
\chapter{Status and Values}
\thispagestyle{empty}
\clearpage
\section{FooBar}
Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.Foo Bar.
%I've initialized all the other chapters like I did above in the actual document
\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}\chapter{Status and Values}
\includepdf{./FinalImages/LastPage}
\end{document}
Please help. This seems like it should be so simple but nothing's working.
P.S. I'm a LaTeX newbie and it's my first time posting here so if I broke some forum rule please let me know. Also, probably a much more simple problem I'm also having is that I'd like to extend the bottom margin on all of the empty pagestyle pages but there doesn't seem to be an \addtolength{bottommargin} anywhere.
**EDIT:**Just adding the images people will need to run this https://drive.google.com/open?id=0B1v5jtMWOxDTelZyVFExSWpURW8
