双向超链接和提升的超链接目标导致构建错误

双向超链接和提升的超链接目标导致构建错误

我融合了两种方法来为我的尾注(回忆录的尾注/页面注释)创建双向超链接。

用于双向链接并修复旨在降低

结果:

\documentclass{article}
\usepackage{hyperref}

\makeatletter
\newcommand{\linkdest}[1]{\Hy@raisedlink{\hypertarget{#1}{}}}
\makeatother

\linkdest{endnote1-body}
Additional information on translations, as well as deviations\makeatletter\hyperlink{endnote1-appendix}\Hy@raisedlink{\hypertarget{endnote1-body}{\pagenote{%
  \hypertarget{endnote1-appendix}{\hyperlink{endnote1-body}{Due to the balanced and inspiring selection of chants, as well as for the sake of compatability, WPN \textit{Buddhist Chanting} {2014} has served as the basis for this book. Over time, suggestions for the inclusion of additional chants, as well as occasional improvements of existing translations were incorporated. Such changes were meticulously marked down in the endnotes, so that someone familiar with the SBS recitation book can straight away find the relevant differences, which can be useful when visiting a branch monastery of the Ajahn Chah lineage, in order to know in which places to revert to the original version.}}}}}\makeatother\thickspace
from WPN \textit{Buddhist Chanting} (2014), have been annotated by Ven. Ariyadhammika in the endnotes.

\end{document}

我最终遇到了重复目标错误

warning  (pdf backend): ignoring duplicate destination with the name 'endnote1-body'

在修复这个问题之前,是否可以通过回忆录启用尾注的双向超链接,而无需手动设置双向超链接?链接凸起的主要原因是双向链接的目标太低。

如果不是,我该如何构造这个组合来解决错误?

请告诉我还有哪些有用的信息。

提前致谢。

相关内容