[pdftex] \thispagestyle does not work with \printindex
Stueker, Dirk (K-EFE/F)
dirk.stueker at volkswagen.de
Wed Apr 21 13:26:42 CEST 2004
Hi,
I discovered a problem regarding the pagestyle of the bibliography. Using
the book-style, the pagenumber appears on the top of each page. The only
exception is the beginning of a chapter, where it appears at the bottom of
the page. To avoid this behavior, I inserted the \thispagestyle{empty}
command which works fine at the beginning of new chapters.
Now here is my problem: When the bibliography is generated by the
\printindex-command, again the pagenumber appears at the bottom of the page.
As long as the bibliography consists of just one page, this can be avoided
with the \thispagestyle{empty} command. If the bibliography consists of more
than one page, this is not the case and I cannot hide it.
This is my sample document:
%
============================================================================
====================
\documentclass[12pt,a4paper,german]{book}
\usepackage{german}
\usepackage[cp850]{inputenc}
\usepackage{url}
\usepackage{makeidx} \makeindex
\include{../global_includes/init}
\begin{document}
\chapter{My first chapter}
This is a test \cite{Weiss_ea-2003}, \cite{Abramowitz_and_Stegun-1974},
\cite{Amditis_ea-2002},
\cite{Bensrhair_ea-1996}, \cite{Zhang-2002}, \cite{Bar-shalom-2000},
\cite{Bar-Shalom-2002},
\cite{Bar-Shalom_and_Fortmann-1988},\cite{Stiller_ea-1997},\cite{Stueker_and
_Schmidt-2003}.
\appendix
\cleardoublepage \addcontentsline{toc}{chapter}{Literaturverzeichnis}
\bibliographystyle{alpha}
\bibliography{../../../CVS_lokal/LaTeX/Literaturdaten/Litdata,../Recherche/r
echerche}
\thispagestyle{headings}\printindex % <--- does not work
\end{document}
%
============================================================================
====================
If anybody knows how I can avoid pagenumbers /footnotes in the bibliography
your help is really
appreciated.
Thanks in advance
Dirk
P.S.: I am using miktex with the latest updates.
More information about the pdftex
mailing list