..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
TOC에 있는 참고문헌의 마지막 페이지를 인쇄하므로 제대로 작동하지 않습니다.
대신 다음과 같이 참고문헌을 간단히 삽입하는 것이 좋습니다( 와 함께 작동 biblatex
).
\printbibliography[title={References},heading=bibintoc]
\markboth{References}{References}
여기에 설명된 대로:biblatex/biber를 사용할 때 ToC에 참고문헌이 없습니다.
아니면 여기:toc의 참고문헌 페이지 번호가 잘못되었습니다(screprt).
예를 들어.