Problem with todonotes package

1,634 views
Skip to first unread message

Alessandro Cuttin

unread,
Sep 18, 2010, 6:47:32 AM9/18/10
to tufte...@googlegroups.com
I'm using the todonotes package.

This package allows to insert specific margin notes to highlight things to be done: the basic commands \todo{} and \missingfigure{} work fine.
There is also another command:
\listoftodos. Its purpose is to produce a (you get it) a list of all the \todo and \missingfigure commands with respective pages.

However, when the \listoftodos command is issued, no list is printed.

Should I file a bug?

Thanks,
Alessandro
a_f_cuttin.vcf

Kevin Godby

unread,
Sep 18, 2010, 7:11:09 AM9/18/10
to tufte...@googlegroups.com
Hello, Alessandro.

This is due to the tocdepth parameter. Just before the \listoftodos
command, add \setcounter{tocdepth}{10}.

I'm not sure what the minimum value of tocdepth must be for
\listoftodos, but setting it to 10 should suffice.

--Kevin

Alessandro Cuttin

unread,
Sep 19, 2010, 7:37:48 AM9/19/10
to tufte...@googlegroups.com
Yes, it works. Thank you so much for the quick reply!

Alessandro 


--
You received this message because you are subscribed to the Google Groups "tufte-latex" group.
To post to this group, send email to tufte...@googlegroups.com.
To unsubscribe from this group, send email to tufte-latex...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tufte-latex?hl=en.


chip

unread,
Sep 19, 2010, 9:56:14 AM9/19/10
to tufte-latex
I thought this would be useful and installed it. But, an odd thing
happens. I get every bubble-instance of a todonote twice, side by
side, but with the first one having "]" following it (there is a box
around the ] in the same color as the bubble-todonote) and the second
one with the little colored tail pointing to the insertion point. They
are also not in the margin, but long and narrow vertically.

I'm using \documentclass[10pt, sfsidenotes, justified, twoside]{tufte-
book}
and
\geometry{landscape,left=1in,top=1in,textheight=6.5in,textwidth=6in,marginparsep=0.5in,marginparwidth=2.5in}

Obviously, it's colliding with some internal package. I don't want to
make a big deal out of it, as todonotes might be useful, but right now
it's a novelty. If the collision is obvious and fixable, I'd
appreciate it. But, don't anyone go to a lot of work!

thanks,
Ray

On Sep 19, 7:37 am, Alessandro Cuttin <alessandro.cut...@ieee.org>
wrote:
> Yes, it works. Thank you so much for the quick reply!
>
> Alessandro
>
>
>
> On Sat, Sep 18, 2010 at 1:11 PM, Kevin Godby <god...@gmail.com> wrote:
> > Hello, Alessandro.
>
> > On Sat, Sep 18, 2010 at 5:47 AM, Alessandro Cuttin <a.f.cut...@gmail.com>
> > wrote:
> > > I'm using the todonotes package.
>
> > > This package allows to insert specific margin notes to highlight things
> > to
> > > be done: the basic commands \todo{} and \missingfigure{} work fine.
> > > There is also another command: \listoftodos. Its purpose is to produce a
> > > (you get it) a list of all the \todo and \missingfigure commands with
> > > respective pages.
>
> > > However, when the \listoftodos command is issued, no list is printed.
>
> > > Should I file a bug?
>
> > This is due to the tocdepth parameter. Just before the \listoftodos
> > command, add \setcounter{tocdepth}{10}.
>
> > I'm not sure what the minimum value of tocdepth must be for
> > \listoftodos, but setting it to 10 should suffice.
>
> > --Kevin
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "tufte-latex" group.
> > To post to this group, send email to tufte...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > tufte-latex...@googlegroups.com<tufte-latex%2Bunsubscribe@googlegr oups.com>
> > .

Kevin Godby

unread,
Sep 19, 2010, 10:06:02 AM9/19/10
to tufte...@googlegroups.com
Hello, Ray.

On Sun, Sep 19, 2010 at 8:56 AM, chip <br...@pa.msu.edu> wrote:
> I thought this would be useful and installed it. But, an odd thing
> happens. I get every bubble-instance of a todonote twice, side by
> side, but with the first one having  "]" following it (there is a box
> around the ] in the same color as the bubble-todonote) and the second
> one with the little colored tail pointing to the insertion point. They
> are also not in the margin, but long and narrow vertically.
>
> I'm using \documentclass[10pt, sfsidenotes, justified, twoside]{tufte-
> book}
> and
> \geometry{landscape,left=1in,top=1in,textheight=6.5in,textwidth=6in,marginparsep=0.5in,marginparwidth=2.5in}
>
> Obviously, it's colliding with some internal package. I don't want to
> make a big deal out of it, as todonotes might be useful, but right now
> it's a novelty. If the collision is obvious and fixable, I'd
> appreciate it. But, don't anyone go to a lot of work!

It appears to work okay for me. I've attached the test .tex file and
generated PDF. Try compiling the .tex file yourself (you'll have to
run it through pdflatex 2-3 times so it can get the placement
correct). If your PDF doesn't match the one I've attached, send me a
minimal .tex file that demonstrates the problem and I'll look into it
for you.

Thanks!

--Kevin

tltodonotes.tex
tltodonotes.pdf

chip

unread,
Oct 28, 2010, 8:29:39 PM10/28/10
to tufte-latex
hi
Sorry for the delay...I appreciate your effort. Obviously, this has
not been the most important thing in my life! My grant is! But, I did
get around to coming back to this issue and when I compile and run
your file, I get the double image thing that I see in my stuff. I've
saved out your titodonotes.tex into the same file that I am working in
as that's where the sty currently resides.

I just realized I don't know how to attach files to this...! So, go to

http://www.pa.msu.edu/~brock/file_sharing/PP&C/ and the txt and pdf
files are the log and the result, respectively.

thanks,
Ray
>  tltodonotes.tex
> < 1KViewDownload
>
>  tltodonotes.pdf
> 34KViewDownload

chip

unread,
Dec 4, 2010, 10:55:41 AM12/4/10
to tufte-latex
hi Kevin,

I'm embarrassed, as I said...this is obviously not a huge problem for
me. But, I'm about to delete any reference to todonotes, and so I
thought I'd check in with my monthly ;) query. Did you get a chance to
look at the examples that I uploaded of how your simple example file
exhibits the problem in my directory?

thanks,
Ray

On Oct 28, 7:29 pm, chip <br...@pa.msu.edu> wrote:
> hi
> Sorry for the delay...I appreciate your effort. Obviously, this has
> not been the most important thing in my life! My grant is! But, I did
> get around to coming back to this issue and when I compile and run
> your file, I get the double image thing that I see in my stuff. I've
> saved out your titodonotes.tex into the same file that I am working in
> as that's where the sty currently resides.
>
> I just realized I don't know how to attach files to this...! So, go to
>
> http://www.pa.msu.edu/~brock/file_sharing/PP&C/and the txt and pdf

Kevin Godby

unread,
Dec 4, 2010, 3:14:45 PM12/4/10
to tufte...@googlegroups.com
Hello, Ray.

On Sat, Dec 4, 2010 at 9:55 AM, chip <br...@pa.msu.edu> wrote:
> I'm embarrassed, as I said...this is obviously not a huge problem for
> me. But, I'm about to delete any reference to todonotes, and so I
> thought I'd check in with my monthly ;) query. Did you get a chance to
> look at the examples that I uploaded of how your simple example file
> exhibits the problem in my directory?

I'm sorry for the late reply; this email somehow fell out of my inbox.

I took a look at the PDF but I'm not sure what's causing the problem.

Have you tried using the latest version of todonotes.sty? I've
attached a copy of the latest todonotes.sty file. Just place it in
the same directory as your .tex file and recompile the document. (You
may have to clear out any temporary aux and list files first.)

If that doesn't solve the problem, send me the .log file and I can
compare some other package versions.

Thanks for your patience!

--Kevin

todonotes.sty

Dan T. Abell

unread,
Dec 5, 2010, 12:06:19 AM12/5/10
to tufte...@googlegroups.com
In the meantime---have you tried the fixme package.
I believe it will do pretty much the same, and works
with TL.
-Dan

> --
> You received this message because you are subscribed to the Google Groups "tufte-latex" group.
> To post to this group, send email to tufte...@googlegroups.com.

> To unsubscribe from this group, send email to tufte-latex...@googlegroups.com.


> For more options, visit this group at http://groups.google.com/group/tufte-latex?hl=en.
>

> <todonotes.sty>

--
Dan T. Abell :: dabell at txcorp dot com :: 303.444.2452
Tech-X Corp., 5621 Arapahoe Ave, Ste A, Boulder CO 80303
http://www.txcorp.com :: 303.748.6894/c 303.448.7756/fx


chip

unread,
Dec 5, 2010, 10:13:13 AM12/5/10
to tufte-latex
hi
Thanks, but the new version didn't work. The txt file in the link
above was the log file from the compile that made the pdf in that
directory:

http://www.pa.msu.edu/~brock/file_sharing/PP&C/

This seems a silly waste of time, but I can imagine that this package
could be useful for me.

I appreciate it,
Ray
>  todonotes.sty
> 17KViewDownload

Kevin Godby

unread,
Dec 5, 2010, 6:42:54 PM12/5/10
to tufte...@googlegroups.com
Hello.

On Sun, Dec 5, 2010 at 9:13 AM, chip <br...@pa.msu.edu> wrote:
> hi
> Thanks, but the new version didn't work. The txt file in the link
> above was the log file from the compile that made the pdf in that
> directory:
>
> http://www.pa.msu.edu/~brock/file_sharing/PP&C/
>
> This seems a silly waste of time, but I can imagine that this package
> could be useful for me.

I looked at your log file and it appears that most of the packages
you're using are older than the packages I'm using. (I'm running TeX
Live 2010.)

Let's try to narrow down which package is causing the problems.

I've attached a modified version of the tltodonotes.tex test document.
Try to compile it first and if it looks okay, edit the document and
uncomment the first \usepackage line and recompile. Continue
uncommenting \usepackage lines until you notice the error. (It's
possible that it could be a combination of packages.) If you don't
notice the problem with all of the \usepackage lines uncommented, then
it must be an issue with the Tufte-LaTeX code itself.

(Feel free to uncomment the first half of the packages to start and
use a binary search method to narrow down the problem package, if you
prefer.)

Thanks for taking the time to help me track down this problem.

--Kevin

tltodonotes.tex
Reply all
Reply to author
Forward
0 new messages