Abstract must be defined before maketitle command. Please move it
最近在使用acmart-primary的sample-sigconf.tex模版时,编译文档总是会出现这个问题。
sample-sigconf.tex 中的代码示例如下:
1 | |
而acmart.pdf的官方文档中saveabstract的定义如下
1 | |
可以看出,sample-sigconf.tex中abstract确实是定义在maketitle前的。
后来根据stackexchange中的回答,将\begin{document}置于\maketitle前,可以解决这个问题
Abstract must be defined before maketitle command. Please move it
http://yojayc.github.io/2022/03/31/Abstract-must-be-defined-before-maketitle-command/