点击某些部分的目录时出现问题

点击某些部分的目录时出现问题

我的文档的目录指示了每个部分的正确页面,但是当我单击前四个附录时,我没有进入正确的页面。

这种情况只发生在附录章节的 4 个部分(A.1、A.2、A.3 和 A.4)。定义附录章节的代码如下:

   \titleformat{\chapter}[block]
  {\normalfont\huge\bfseries}{\thechapter.}{1em}{\Huge}
\titlespacing*{\chapter}{0pt}{-19pt}{0pt}
\appendix
\chapter{Appendix}
\clearpage
 \section{Assessment of water resources in endorheic basins}
  %\input{Appendixx/AppendixTable1}
  \clearpage
   \section{RS applications for the assessment of water resources in endorheic basins}
  %\input{Appendixx/AppendixTable3}
  \clearpage
 \section{Placement of ROIs within the DP system}
  %\input{Appendixx/Appendix A}
    \clearpage
 \section{Water mask extracted from the MNDWI}
  %\input{Appendixx/Appendix B}
    \clearpage
 \section{Estimated precipitation (CHIRPS) versus reference precipitation (rain-gauge)}
  %\input{Appendixx/Appendix C}
    \clearpage
 \section{Temporal evolution of annual precipitation of rain-gauge (black line) and CHIRPS (blue line)}
  %\input{Appendixx/Appendix D}
  \clearpage

输入(附录 A、B、C 和 D)是 .txt 文件中具有完全相同代码的图形:

\begin{figure}[h!]
\centering
\includegraphics[width=1\linewidth]%{figures/prueba_biasStaations.jpg}
\label{fig:biasStaations}
\end{figure}

附录之间的唯一区别是.jpg文件。但是,只有附录 A.5(附录 C)和 A.6(附录 D)与其页面正确链接。

这是main.txt:

\documentclass[a4paper,12pt,twoside,fleqn]{report}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=3cm]{geometry}
\usepackage{epigraph}
\usepackage{titlesec}
\usepackage{tocbibind}
\usepackage[toc,page]{appendix}
\usepackage{amsmath}
\usepackage{titlesec}
\titlespacing\section{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titlespacing\subsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\titlespacing\subsubsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\usepackage[hyphens]{url}% breks long URL.
\usepackage[bookmarksopen,colorlinks=false,breaklinks=true,bookmarksdepth=2]{hyperref}
\usepackage{float}
\floatstyle{plaintop}
\restylefloat{table}
\usepackage{placeins}
\usepackage{enumerate}
\usepackage[utf8]{inputenc}
\usepackage[hang,small,bf]{caption}
\captionsetup{font=footnotesize, labelfont=bf}
\setlength{\captionmargin}{20pt}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{adjustbox}

%%% Bibliography%%%%%
\usepackage[style=authoryear,
    backend=bibtex,
    sortcites=ynt,
uniquename=init,
natbib=true,
    maxbibnames=15,
    maxcitenames=2,
    dashed=false] {biblatex}

%\addbibresource{bibliography.bib}
%\input{thesis.preamble}


\begin{document}

\title{\LARGE {\bf Mapping historical hydrological changes in the Lake Poopó catchment, Bolivia, with remote sensing}
 \vspace*{6mm}
}

\author{Juan Torres-Batlló}
\submitdate{June 2020}

\normallinespacing

\body
%\input{background/Chapter 2}

%\addcontentsline{toc}{chapter}{Bibliography}

%\printbibliography
   
%\input{Appendices2}

\end{document}

前 4 个附录 [A.1(表 1)、A.2(表 2)、A.3(A)和 A.4(B)没有很好的引用]。最后 2 个附录 [A.5(D)和 A.6(C)] 有很好的引用,当我在目录中单击它们时,超链接会将我带到正确的页面。但是,当我在目录中单击前 2 个附录时,链接不会将我带到正确的页面。

在此处输入图片描述

代码有问题吗?

相关内容