The europecv package, which I'm using to typeset my CV, seems to use the longtable package for the whole content and this presents a problem for me. I have no direct access to the tabular commands, I only type my content between the \begin{europecv} and \end{europecv} environment.
After some content I have a \newpage and what I want is for all pages after this to have no footer at all. If I try to place a \fancyfooter{}, it doesn't work. I have realized that this does not work because it's being placed inside the tabular data. I must place it outside it, that means, outside the \begin{europecv} and \end{europecv} environment. But that will only clear the footer on the last page, which is not necessarily the only page after the \newpage mentioned above. I want to clear all of them after that command.
I tried to do the same thing, a document spawning multiple pages but without tabular data (without using the europecv environment... This time it worked as expected because the \fancyfooter{} command was not inside a tabular environment.
I have no clue how to do what I want or if it's even possible. Any ideas?
Not working example:
\documentclass[helvetica,narrow,totpages]{europecv}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\begin{europecv}
\ecvsection{Section}
\ecvitem{Item}{\lipsum[1]}
\ecvitem{Item}{\lipsum[2-3]}
\newpage % I want to clear the footer on all pages AFTER this command
%\fancyfoot{} % If used here, clears the footer on ALL pages
\ecvsection{Section}
\ecvitem{Item}{\lipsum[4-5]}
\ecvitem{Item}{\lipsum[6]}
\ecvitem{Item}{\lipsum[7]}
\end{europecv}
\fancyfoot{} % If used here, clears the footer on the LAST page only
\end{document}
Working example:
\documentclass[helvetica,narrow,totpages]{europecv}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum[1-10]
\newpage
\fancyfoot{} % Clears the footer on all pages AFTER \newpage (last 2 in this example)
\lipsum[1-10]
\end{document}
This works because the content is not inside the europecv environment and thus is not inside any table (looking at the europecv package, the \newenvironment{europecv} uses longtable.
Full document example: http://pastebin.com/ExF7W5LC