m我遇到过这种情况:当我的文档包含标题页时,词汇表会生成错误链接......
这是我的代码:
\documentclass{article}
\usepackage{hyperref}
\usepackage[acronym]{glossaries}
\makeglossaries
\newglossaryentry{api}{type=\acronymtype, name={API}, description={Application
Programming Interface}, first={Application
Programming Interface (API)}, see=[Glossary:]{apig}}
\newglossaryentry{apig}{name={API},
description={An Application Programming Interface (API) is a particular set
of rules and specifications that a software program can follow to access and
make use of the services and resources provided by another particular software
program that implements that API},nonumberlist}
\begin{document}
\begin{titlepage}
\center{title}
\end{titlepage}
\newpage
\noindent
First use \gls{api}\\
subsequent \gls{api}
\newpage
a page between
\newpage
Another use: \gls{api}\\
\newpage
\glsadd{apig}
\printglossary[type=\acronymtype]
\newpage
\printglossary[type=main]
\end{document}
我从这里获取了代码: 如何结合缩略词和词汇表
我想要有首字母缩略词和词汇表。并且首字母缩略词应该链接到词汇表...
我不介意删除首字母缩略词后面的页码,但使用“nonumberlist”选项也会删除指向我的词汇表的链接:-/
使用没有标题页的代码可以正常工作......
感谢帮助!