todonotes
使用样式包时,待办事项列表显示为空(acl2020
可用这里)。
这是一个有效的例子:
\documentclass[11pt,a4paper]{article} %list of todos is empty
\usepackage[hyperref]{acl2020}
\usepackage{todonotes}
\begin{document}
\listoftodos
\section{Contents}
test text \todo{test}
\end{document}
有一个类似问题llncs
无论怎样修复,文档样式都无济于事\setcounter{tocdepth}{1}
。
答案1
ACL 样式包含以下内容:
% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\def\addcontentsline#1#2#3{}
您可以编辑样式以仅刷新最终副本的目录行:
% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\ifacl@finalcopy
\def\addcontentsline#1#2#3{}
\fi