我一直在写一本书并使用 easy-todo 包来跟踪我需要做的事情。
在另一个帖子中,有人建议我转到 memoir 类,因为它具有很大的灵活性,而且在看了一会儿之后,我也同意了。但现在我遇到了一个错误,显然 memoir 与 easy-todo 不兼容。
我收到缺少 \begin{document} 的错误。
下面是 MWE。
有办法解决这个问题吗?有没有与 memoir 兼容的类似软件包?
\documentclass{memoir}
\title{Interesting words}
\author{Peter Flom}
\usepackage[enable]{easy-todo}
\begin{document}
\todo{Add more example sentences to USAGE including writing possible contemporary uses}
\todo{Add more personal reasons why I love a word or where I found it, also more personal examples}
\todo{Look at more about the frequency of the word, try to note why there was a peak}
\todo{Add humor to anti-thesaurus}
\todo{Move pronunciation to right after word}
\todo{Learn Memoir}
\todo{Write intros for all sections}
\chapter{Introduction} \label{C:Intro}
I learned to read at the usual age of 5. But I got hooked on reading at age 9 when I was sick and my mom got me \emph{A Wrinkle in Time} by Madeline L'Engle. I read it cover to cover. Then I started over. I was hooked. And I read everything. Sure, I read some kids' books but I also read some that were not meant for tweens. And I learned a lot of words. By 5th grade, my reading comprehension and vocabulary scores were off-the-charts. I love words.
\end{document}
答案1
我不推荐easy-todo
使用,memoir
因为它依赖于tocloft
软件包来完成其列表。尽管memoir
和tocloft
从同一个地方开始,但它们不再完全兼容。easy-todo
自 2014 年以来,Alo 一直没有更新。
我建议使用todo
或fixme
包来做笔记。它们都写在页边空白处,这样你就不用在文本中填满自己的笔记了。后者甚至可以配置为使用包marginnote
来随时随地写笔记(todo
不能这样做)。
也就是说,我们可以让它编译
\documentclass{memoir}
\title{Interesting words}
\author{Peter Flom}
\let\normalnewlistof\newlistof
\newcounter{todos}[part]
\renewcommand\newlistof[4][]{
\normalnewlistof{listof#2}{#3}{#4}
}
\newlistentry[chapter]{todos}{lod}{0}
\usepackage[enable]{easy-todo}
\let\newlistof\normalnewlistof
\begin{document}
\todo{Add more example sentences to USAGE including writing possible contemporary uses}
\todo{Add more personal reasons why I love a word or where I found it, also more personal examples}
\todo{Look at more about the frequency of the word, try to note why there was a peak}
\todo{Add humor to anti-thesaurus}
\todo{Move pronunciation to right after word}
\todo{Learn Memoir}
\todo{Write intros for all sections}
\chapter{Introduction} \label{C:Intro}
I learned to read at the usual age of 5. But I got hooked on reading
at age 9 when I was sick and my mom got me \emph{A Wrinkle in Time} by
Madeline L'Engle. I read it cover to cover. Then I started over. I was
hooked. And I read everything. Sure, I read some kids' books but I
also read some that were not meant for tweens. And I learned a lot of
words. By 5th grade, my reading comprehension and vocabulary scores
were off-the-charts. I love words.
\end{document}