Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm writing my thesis and I have a problem with references:

The references span across two pages. On the top of the second page there is a header (that appears on every page where a new chapter does not begin). The header informs a reader about the current chapter he/she is reading. But in the references it says "Conclusion", which is my last chapter. I would like this not to appear in the references (or say "References"). There are some other chapters after References, that I would like to keep their headers (\appendix).

This is the code to create references (bibtex):

\bibliographystyle{plain} 
\bibliography{thesisrefs}

This makes the headers:

\def\ps@thesisheadings{%
\def\chaptermark##1{%
\markright{%
\ifnum\c@secnumdepth >\m@ne
\thechapter.\ %
\fi ##1}}
\let\@oddfoot\@empty
\let\@oddhead\@empty
\def\@oddhead{\vbox{\hbox to \textwidth{%
\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
\if@twoside
 \def\@evenhead{\vbox{\hbox to \textwidth{%
 {\sc\rightmark}\hfil}\vskip 4pt\hrule}}
\else
 \let\@evenhead\@oddhead
\fi
\def\@oddfoot{\hfil\PageFont\thepage}
\if@twoside
 \def\@evenfoot{\PageFont\thepage\hfil}%
\else
 \let\@evenfoot\@oddfoot
\fi
}
share|improve this question
2  
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  Marco Daniel May 19 '12 at 11:59
    
Please indicate how the References section/chapter is generated: via BibTeX (or biblatex) or entirely manually? –  Mico May 19 '12 at 12:49
    
Here are the files you'll probably need to compile an example...I'm unable to make it a better way –  Bato May 19 '12 at 13:03
    
References section is generated using BibTeX –  Bato May 19 '12 at 13:09

1 Answer 1

up vote 2 down vote accepted

Evidently your bibliography command doesn't update the running heads. Judging from your code, you just need to call \chaptermark{References} (manually or automatically) when the bibliography starts.

Presumably this doesn't happen because your bibliography is a section, not a chapter. If you don't like the idea of calling \chaptermark for a section, just call \markright directly.

share|improve this answer
    
The \markright did the trick. Thank you very much. –  Bato May 19 '12 at 14:00
    
You are welcome. You are now supposed to close the question by "accepting" my answer. –  alexis May 19 '12 at 14:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.