On 04/29/2015 06:40 AM, Sam Lewis wrote:
> I create running headers in a Koma-script book with the following. This gives me a page number and the chapter heading on each page, except on the first page of each chapter as desired.
>
> \usepackage[automark]{scrlayer-scrpage}
> \pagestyle{scrheadings}
> \ihead{Chapter \headmark}
> \ohead[\pagemark]{\pagemark}
> \chead{}
> \cfoot[]{}
>
>
> In this book, I have a bibliography and a further reading section at the end of each chapter via this code in the preamble
>
>
> \defbibheading{subbibliography}[\bibname]{%
> \section*{#1}%
> \markboth{#1}{#1}}
>
> and this ERT at the end of each chapter.
>
>
> \printbibliography[heading=subbibintoc,title={Further Reading},notcategory=cited]
> \printbibliography[heading=subbibintoc,category=cited]
> \end{refsection}
> \begin{refsection}
>
>
> Everything works fine, except that the header on the last page of each chapter is called "Further Reading" instead of the name of the chapter.
>
>
> How to fix this?
>
>
> Many thanks!
>


You are defining `defbibheading` in a way that updates the running
header with *Further Reading* via `markboth`. Deleting this line should
fix your problem.

If you really want to have the chapter titles on the starting pages of
chapters, you can use `\renewcommand*{\chapterpagestyle}{scrheadings}`
or use the starred variant of the commands -> `\ihead*{Chapter
\headmark}`. An up to date version of KOMA-script is needed for that.

Once you start the appendix, you have some trouble, as you are
hard-coding the word *chapter*. You can use `\chapapp` instead.

Best regards
Johannes Böttcher


Reply via email to