![书签栏未进入正确位置](https://linux22.com/image/422267/%E4%B9%A6%E7%AD%BE%E6%A0%8F%E6%9C%AA%E8%BF%9B%E5%85%A5%E6%AD%A3%E7%A1%AE%E4%BD%8D%E7%BD%AE.png)
\usepackage{bookmark}
我尝试使用以下代码创建书签栏
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{appendix}
\usepackage{xcolor}
\usepackage{zref-savepos,graphicx}
\usepackage{lipsum}
\usepackage[section]{placeins}
%package for loading images
\usepackage{graphics}
\graphicspath{{images/}}
\usepackage{caption}
\usepackage{subcaption}
%-----------------
\usepackage{bookmark}
%---------------REF----------
\usepackage{biblatex}
\addbibresource{references.bib}
%------------------
%fancy
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LH]{Restaurant Management Software}
\fancyhead[RH]{October 2020}
\fancyfoot{}
\fancyfoot[LF]{Nguyen Duy Anh}
\fancyfoot[CF]{Chapter \thechapter}
\fancyfoot[RF]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\newlength\FHoffset
\setlength\FHoffset{1cm}
\addtolength\headwidth{2\FHoffset}
\fancyheadoffset{\FHoffset}
%-----------------------
%activate the style:
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
%border for title
\usepackage{tikz}
\usetikzlibrary{calc}
\newcommand\HRule{\rule{\textwidth}{1pt}}
%---------------------------------------
%bibligographies
\usepackage{biblatex}
\addbibresource{references.bib}
\begin{document}
\input{titlepage}
\addcontentsline{toc}{chapter}{\textbf {ACKNOWLEDGEMENTS}}
\chapter*{\LARGE ACKNOWLEDGEMENTS}
\addcontentsline{toc}{chapter}{\textbf {LIST OF ABBREVIATIONS}}
\chapter*{\LARGE LIST OF ABBREVIATIONS}
\addcontentsline{toc}{chapter}{\textbf {LIST OF FIGURES}}
\listoffigures
\addcontentsline{toc}{chapter}{\textbf {TABLE OF CONTENTS}}
\tableofcontents
\addcontentsline{toc}{chapter}{\textbf {ABSTRACT}}
\vspace{15pt}
\begin{center}
\textbf{\large ABSTRACT}\\
\end{center}
\newpage
\chapter{INTRODUCTION}
\input{chapter/Introduction}
\chapter{DESIGN AND ANALYSIS}
\input{chapter/Materials}
\chapter{METHODOLOGY}
\input{chapter/Methodelogy}
\chapter{RESULT}
\input{chapter/Result}
\chapter{CONCLUSION AND FUTURE WORKS}
\input{chapter/Conclusion}
\nocite{one}
\nocite{two}
\nocite{three}
\nocite{four}
\nocite{five}
\addcontentsline{toc}{chapter}{\textbf{REFERENCES}}
\printbibliography[title={REFERENCES}]
\chapter{APPENDIX}
\input{chapter/appendix}
\end{document}
当我将此文件下载为 PDF 然后打开它时,它成功创建了书签栏,但当我单击它时,每个章节的位置都不正确。有人能帮我找出这里出了什么问题吗?