我正在使用以下代码为我的项目创建符号和缩写列表:
\documentclass[12pt]{article}
\usepackage[automake, acronyms, symbols, toc, nonumberlist]{glossaries-extra}
\makeglossaries
\newglossaryentry{AR}{name={AR},description={Auto regression model}}
\newglossaryentry{symb:I}{name={$I$},description={number of agents}, type=symbols}
\begin{document}
This is a test \gls{AR}.
\printglossary[title={Abbreviations}]
\printglossary[type=symbols, style=super, title=Symbols]
\appendix
\bibliographystyle{apalike}
\bibliography{library}
\end{document}
运行得很好。但是,我想将我的参考资料前附录:(代码完全相同,但附录和参考书目的顺序不同):
\documentclass[12pt]{article}
\usepackage[automake, acronyms, symbols, toc, nonumberlist]{glossaries-extra}
\makeglossaries
\newglossaryentry{AR}{name={AR},description={Auto regression model}}
\newglossaryentry{symb:I}{name={$I$},description={number of agents}, type=symbols}
\begin{document}
This is a test \gls{AR}.
\printglossary[title={Abbreviations}]
\printglossary[type=symbols, style=super, title=Symbols]
% here I changed the order!
\appendix
\bibliographystyle{apalike}
\bibliography{library}
\end{document}
当我这样做时,出现以下错误:
因为 Latex 不再更新我的 .gls 文件。有人知道如何解决这个问题吗?
谢谢你!