目录中的参考书目链接未指向参考书目(超引用)

目录中的参考书目链接未指向参考书目(超引用)

目录中我的文档的每一章和每一节都指向正确的位置,参考书目除外。

如何修复?

梅威瑟:

\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)
例如。

相关内容