BibTeX, biblatex and biberWhy my header of the bibliography part (thesis) is the continuation of the last chapter? how put a different header for

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Pshtiwan Gharib Ali
Posts: 1
Joined: Sun Dec 18, 2022 9:37 am

Why my header of the bibliography part (thesis) is the continuation of the last chapter? how put a different header for

Post by Pshtiwan Gharib Ali »

The below is the sequence of the codes used in the Latex file
\documentclass[12pt]{report}

\setcounter{tocdepth}{3}

\setcounter{secnumdepth}{3}

\usepackage{tocloft}

\usepackage{xpatch}

\usepackage[T1]{fontenc}

\usepackage{textcomp}

\usepackage{titlesec}

\usepackage{setspace}

\usepackage{amsmath,amsfonts,amsthm,bm}

\usepackage{float}

\usepackage[utf8]{inputenc}

\usepackage{times}

\usepackage{graphicx}

\usepackage{fancyhdr}

\usepackage{epsfig}

\usepackage{cite}

\usepackage{amssymb}

\usepackage{latexsym}

\usepackage{epic}

\usepackage{gensymb}

\usepackage{calligra}

\usepackage{enumerate}

\usepackage{caption}

\usepackage[labelfont=bf]{caption}

%\usepackage[font={Large}]{caption}

\usepackage{pdfpages}

\usepackage{import}

\usepackage{hyperref}

\usepackage{indentfirst}

\usepackage{booktabs}

\usepackage{afterpage}

\usepackage{tikz}

\floatstyle{plaintop}

\restylefloat{table}

\usepackage{epsfig}

\usepackage[a4paper, bindingoffset=0.2in, left=2.0 cm,right=2.0 cm,top=2 cm, bottom=2.5 cm ,footskip=.25in ]{geometry}

\usepackage{blindtext}

\usepackage[export]{adjustbox}

\usepackage{sectsty}

\usepackage{xcolor}

\usepackage{acronym}

\usepackage[acronym]{glossaries}

\usepackage{lineno}

\begin{document}

\input{FrontPage}

\newpage

\cleardoublepage% \clearpage

\tableofcontents

\addcontentsline{toc}{chapter}{\numberline{}List of contents}

% List of Figures %

\newpage

\listoffigures

\addcontentsline{toc}{chapter}{\numberline{}List of figures}

% List of Tables %

\newpage

\listoftables

\addcontentsline{toc}{chapter}{\numberline{}List of tables}

\newpage

\input{acro_list}

\addcontentsline{toc}{chapter}{\numberline{}List of abbreviation}

\clearpage% \clearpage

\pagenumbering{Roman}

\pagenumbering{arabic}

\input{Chapter1}

\input{Chapter2}

\input{Chapter3}

\input{Chapter4}

\input{Chapter5}

\bibliographystyle{unsrt}

\bibliography{bibliography}

\addcontentsline{toc}{section}{\textbf{References}}

\includepdf{KurdishTitle}

\includepdf{KurdishAbstract}

\includepdf{ArabicTitle}

\includepdf{ArabicAbstract}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

Why my header of the bibliography part (thesis) is the continuation of the last chapter? how put a different header for

Post by MjK »

Note: Using \addcontentsline after commands like \tableofcontents, \listof…, or \bibliography is already a mistake. This mistake can result in incorrect page numbers and sometimes even in wrong links.

Also several packages are obsolete or not recommended any longer. The package order and the package combination is also not the best.

Your example also is not marked correctly as code and is not working. So we cannot reproduce your issue. Usually report uses \chapter* for the heading of the bibliography, but explicitly sets the running head using \@mkboth. So the issue should not happen. Maybe one of the used packages, breaks this definition of report. You can use the minimization method to eliminate the problematic package.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
Post Reply