It seems that LaTeX's TODO package doesn't work inside theorems,
itemize environments, etc...
Is this problem familiar?
How can I solve it?
Thanks, Yochai.
p.s:
Don't familiar with LaTeX's TODO package? (A nice utility for managing
the TODO list of you book/article.) Try it:
http://www.ctan.org/tex-archive/macros/latex/contrib/todo/?action=/tex-archive/macros/latex/contrib/
>Hi,
>
>It seems that LaTeX's TODO package doesn't work inside theorems,
>itemize environments, etc...
>
>Is this problem familiar?
"Familiar" in the sense that I myself just noticed it last week,
yes. (Since I hadn't noticed it the last time I used todo.sty,
about one year ago, I did wonder whether this newly-observed
misbehavior had been triggered by some other change in my
preamble; for instance, this time around the documentclass is
elsart where in the previous instance it was amsart, and there
are various other packages present that weren't there last time.
But I didn't experiment to find out, so for all I know, I was
just lucky previously.)
>How can I solve it?
Being lazy, I just moved my TODOs out of the environments
that wouldn't tolerate them (and am still putting off DOing them,
too). I look forward to an informed answer to (y)our question,
perhaps from Javier Bezos himself!
Lee Rudolph
Here they are:
~~~~~~~~~~
\newcommand{\goTODO}[2] {\marginpar{\tiny{#1 \ref{#2}}}}
\newcommand{\TODO}[3] {\todo[#1]{\label{#2} #3}}
Usage sample: (Inside AmS's proof environment)
~~~~~~~~~~
… Notice that there are $\binom{N-n}{(N-n)/2}$
optimal\goTODO{To Fix}{ts26/08/04,14:30} solutions for $(P,Q)$,
therefore there exist…
\end{proof}
\TODO{To Fix}{ts26/08/04,14:30}{I use here the standard \AmS's binom
command. The parentheses are small or what?}
…
You can use it in the meanwhile… But of course, I wonder if there is
better way to handle it?
I saw a very similar package called "fixme", which is used for the
same purpose – but didn't check it yet… (I guess it has the same
problem, since it seems a little problematic to be fully compatible
with all TeX's environment.)
Any recommendations on the "fixme" package?
Thanks, Yochai.