The references of my work are the last part of it. All chapters
and appendixes have a \clearemptydoublepage and it does what it is
meant for it to do. But when I add \clearemptydoublepage to the
Bibliografia chapter, which has 13 pages (so the chapter should have
14 pages) it produces an empty page (no header) and an extra empty
page with header totaling 15 pages. What is erroneously adding the
extra page?
Here is the beginning of the preamble file
\documentclass[uct10,final,twoside,openright]{ucthesis}
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
\cleardoublepage}}
\setcounter{secnumdepth}{4}
\usepackage[dvips]{graphicx}
.
.
\begin{document}
.
.
\include{chapter1}
\clearemptydoublepage
\include{chapter2}
\clearemptydoublepage
.
.
\renewcommand{\thepage{{R}--\arabic{page}}}
\lhead[\fancyplain{}{\bf\thepage}]{\fancyplain{}{\bf{Bibliografia}}}
\rhead[\fancyplain{}{\bf{Bibliografia}}]{\fancyplain{}{\bf\thepage}}
\cfoot{}
\bibliographystyle{myapalike}
\addcontentsline{toc}{chapter}{\noindent \bf{Bibliografia}}
\bibliography{ESCOAM1}
\clearpage{\pagestyle{empty}\cleardoublepage}
\clearemptydoublepage
\end{document}
Oscar Rotava <rot...@petrobras.com.br> writes:
> Pals, I come back to this subject:
>
> The references of my work are the last part of it. All chapters
> and appendixes have a \clearemptydoublepage and it does what it is
> meant for it to do. But when I add \clearemptydoublepage to the
> Bibliografia chapter, which has 13 pages (so the chapter should have
> 14 pages) it produces an empty page (no header) and an extra empty
> page with header totaling 15 pages. What is erroneously adding the
> extra page?
>
> Here is the beginning of the preamble file
>
> \documentclass[uct10,final,twoside,openright]{ucthesis}
> \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
> \cleardoublepage}}
> \setcounter{secnumdepth}{4}
> \usepackage[dvips]{graphicx}
> .
> .
> \begin{document}
> .
> .
> \include{chapter1}
> \clearemptydoublepage
> \include{chapter2}
> \clearemptydoublepage
Why are you using \include if it is to \clearemptydoublepage? Why not
simply using
==
\input{chapter1}
\input{chapter2}
==
? There might be something that I am misunderstanding.
> .
> .
> \renewcommand{\thepage{{R}--\arabic{page}}}
> \lhead[\fancyplain{}{\bf\thepage}]{\fancyplain{}{\bf{Bibliografia}}}
> \rhead[\fancyplain{}{\bf{Bibliografia}}]{\fancyplain{}{\bf\thepage}}
> \cfoot{}
> \bibliographystyle{myapalike}
> \addcontentsline{toc}{chapter}{\noindent \bf{Bibliografia}}
> \bibliography{ESCOAM1}
> \clearpage{\pagestyle{empty}\cleardoublepage}
> \clearemptydoublepage
> \end{document}
I do not have the time to check this, sorry.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
Little things affect little minds. (Benjamin Disraeli)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkvhXt4ACgkQM0LLzLt8MhzATgCfW2216C+4cfvm7fO/n+VXw5Q/
TFgAoKblmYGSuWSrbzTw0KjmCuLMkLyu
=eic3
-----END PGP SIGNATURE-----