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

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
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

Postby Pshtiwan Gharib Ali » Sun Dec 18, 2022 9:43 am

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 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
MjK
Posts: 81
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  Topic is solved

Postby MjK » Tue Dec 20, 2022 10:30 am

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.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 7 guests