如何调整acronym
以使反向链接指向部分而不是页?
但我希望链接分别位于1.1
和1.3
(相应的部分)。
平均能量损失
% Partially copied from
%% https://tex.stackexchange.com/questions/231811/how-can-i-get-glossaries-links-to-point-to-the-right-pages
\documentclass[oneside,english]{book}
\usepackage{babel}
\makeindex
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=true]
{hyperref}
\hypersetup{linkcolor=blue}
\usepackage[acronym,section=chapter,nogroupskip,nomain,savewrites,toc,xindy] {glossaries}
\makenoidxglossaries
\newacronym{isal}{ISAL}{Institute of Serengeti Animal Lovers}
\newacronym{iisal}{IISAL}{International Institute of Savannah Animal Lovers}
\usepackage{lipsum}
\begin{document}
\chapter{Chap 1}
\section{Sec 1}
The subject of this book is about a problem that was once posed by
the \gls{isal}.
\lipsum[1-3]
\section{Sec 2}
\lipsum[4-6]
\section{Sec 3}
Again, the \gls{isal} is an affiliate of the \gls{iisal}.
\printnoidxglossary[type=acronym,title={List of Acronyms},]
\end{document}
任何帮助将不胜感激。
答案1
找到了。添加counter=section
选项\usepackage{glossaries}
。