
패키지를 사용하여 endnotes
미주를 만들고 있는데, 기존 텍스트 본문에 이미 많은 각주가 포함되어 있으므로 I use \let\footnote=\endnote
각주를 미주로 변환합니다.
\documentclass{article}
\usepackage{endnotes}
\usepackage{hyperref}
\let\footnote=\endnote
\begin{document}
Sample text.\footnote{Sample footnote}.
\theendnotes
\end{document}
그러나 원본 각주는 훌륭하게 상호 참조되었지만 변환에서는 해당 내용이 유지되지 않습니다. 상호 참조를 유지하면서 변환하는 방법이 있습니까?
답변1
미주로 작업 하려면 hyperref
다음을 사용할 수 있습니다.enotez
. 당신이 해야 할 일은 다음을 enotez
대신 로드 endnotes
하고 다음을 사용하는 \printendnotes
것뿐입니다 \theendnotes
.
\documentclass{article}
\usepackage[backref]{enotez} % <-- instead of \usepackage{endnotes}
\usepackage{hyperref}
\let\footnote=\endnote
\begin{document}
Sample text.\footnote{Sample footnote}.
\printendnotes % <-- instead of \theendnotes
\end{document}
편집: 메모에서 텍스트 마크까지 역참조하려면 다음 옵션을 사용하세요.backref
업데이트: 최신 버전이 enotez
다르게 설정되었습니다(설명의 설명 참조).
\documentclass{article}
\usepackage{enotez}
\setenotez{backref=true} % <-- options are set like this nowadays
\usepackage{hyperref}
\let\footnote=\endnote
\begin{document}
Sample text.\footnote{Sample footnote}.
\printendnotes
\end{document}