%20%E3%82%92%E6%8C%87%E3%81%97%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84.png)
目次内の私のドキュメントのすべての章とセクションは、参考文献を除いて、正しい場所を指しています。
それをどうやって修正するのでしょうか?
MWE:
\documentclass[a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[british,UKenglish,USenglish,american]{babel}
\usepackage[T1]{fontenc}
% Biblatex references:
\usepackage[
backend=bibtex,
style=authoryear
]
{biblatex}
\DeclareNameAlias{sortname}{last-first}
\renewbibmacro{in:}{}
\setlength\bibitemsep{0.8\baselineskip}
\addbibresource{bib.bib}
\usepackage[
unicode=true,
bookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
breaklinks=false,
pdfborder={0 0 1},
backref=false,
colorlinks=false
]
{hyperref}
\hypersetup{
colorlinks=false,
linkbordercolor={0 0.8 0.2},
linktoc=section
}
\usepackage{minitoc}
\mtcsettitle{minitoc}{Contents of chapter\,:}
\mtcsetrules{*}{off}
\mtcsetoffset{minitoc}{-2.0em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{empty}
\pagenumbering{gobble}
\renewcommand{\tablename}{Table}
\title{Title}
\author{\normalsize{\textsc{Name} First Name}}
\date{\small{\today}}
\maketitle
\vspace*{-12mm}
\dominitoc
\tableofcontents
\newpage{}
\renewcommand{\listfigurename}{Figures list}
\listoffigures \addcontentsline{toc}{chapter}{Figures list} \mtcaddchapter
\newpage{}
\renewcommand{\listtablename}{Tables list}
\listoftables \addcontentsline{toc}{chapter}{Tables list} \mtcaddchapter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage{}
\chapter*{Sumary}
\markboth{Sumary}{Sumary}
\addstarredchapter{Sumary}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\minitoc
stuff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage{}
\chapter*{Introduction}
\markboth{Introduction}{Introduction}
\addstarredchapter{Introduction}
\minitoc
other stuff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage{}
%\chapter*{Bibliography} % Test: if I un-comment this line, I got two "References" chapters then.
\markboth{References}{References}
\addstarredchapter{References}
\printbibliography%[]
\nocite{*}
%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
答え1
次のように使用します:
\printbibliography%[]
\markboth{References}{References}
\addstarredchapter{References}
答え2
これは、目次の参考文献の最後のページを印刷するため、正しく機能しません。
代わりに、次のように参考文献を挿入する方がよいでしょう (次のように機能しますbiblatex
):
\printbibliography[title={References},heading=bibintoc]
\markboth{References}{References}
ここで説明されているように:biblatex/biber を使用する場合、参考文献が目次に含まれません
またはここ:目次内の参考文献のページ番号が間違っています (scrreprt)
例えば。