목록의 항목을 가리키는 북마크

목록의 항목을 가리키는 북마크

질문이 통합된 다음 예를 고려하십시오.

\documentclass{article}

\usepackage{enumitem}
\usepackage{bookmark}
\usepackage{hyperref}

\begin{document}

\section{The first section}
A list of entries where different bookmarks point to each entry.
\begin{enumerate}
  \item Bookmark~$1$ has to point at this entry in the list and be
        of `subsection' depth under the first section in the bookmark tree.
  \item Bookmark~$2$ has to point at this entry in the list and be
        of `subsection' depth under the first section in the bookmark tree.
  \item \dots
\end{enumerate}

\end{document}

이를 어떻게 달성합니까? (질문이 불분명한 경우 알려주세요.)

답변1

\documentclass{article}

\usepackage{enumitem}
\usepackage{bookmark}
\usepackage{hyperref}

\begin{document}

\section{The first section}
A list of entries where different bookmarks point to each entry.
\begin{enumerate}
  \item \bookmark[dest=\csname @currentHref\endcsname]{to item 1}Bookmark~$1$ has to point at this entry in the list and be
        of `subsection' depth under the first section in the bookmark tree.
  \item \bookmark[dest=\csname @currentHref\endcsname]{to item 2}Bookmark~$2$ has to point at this entry in the list and be
        of `subsection' depth under the first section in the bookmark tree.
  \item \dots
\end{enumerate}

\end{document}

관련 정보