如何在期刊模板中使用引用跟踪功能

如何在期刊模板中使用引用跟踪功能

自从我最初发布这篇文章以来,我了解到 trackchanges 在处理引用时有一个已知错误。一些解决方法如下:

解决方法

对我有用的是使用 \protect

我正在尝试使用跟踪变化使用期刊模板对稿件进行修改,但引用存在问题。如果我使用

\documentclass{article}
\usepackage[inline]{trackchanges}
\begin{document}
Remove this reference
\remove{
This is a sentence with a reference
\cite{Ells2013}
Will it be removed?
}
This is the end.
\end{document}

我收到错误“!@citex 的参数有一个额外的 }。”如果我使用日记文档类,我也会收到同样的错误。如果我按照线;即 {\cite{Ells2013}},它运行并编译成功。但是,如果我使用日志模板

\documentclass[draft]{agujournal2019}
\usepackage{soul}
\usepackage[inline]{trackchanges}
\begin{document}
Remove this reference
\remove{
This is a sentence with a reference
{\cite{Ells2013}}
Will it be removed?
}
This is the end.
\end{document}

我收到错误“!包灵魂错误:重建失败。

请参阅 soul 包文档以获取解释“查看 agujournal2019 类文件超出了我的能力范围,我无法理解灵魂包裹文档。有人有什么建议吗?

答案1

对我有用的答案是在关联祖海布·艾哈迈德给了(即\soulregister\cite7在 之前添加\begin{document}):

\documentclass[draft]{agujournal2019}
\usepackage{soul}
\usepackage[inline]{trackchanges}
\soulregister\cite7

\begin{document}
Remove this reference
\remove{
This is a sentence with a reference
\cite{Ells2013}
Will it be removed?
}
This is the end.
\end{document}

它也提到了错误描述用于跟踪变更。

相关内容