TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to compile a file with the extract package that just includes the \listoftodos (todonotes package) of another file?

share|improve this question

You do not need to use the extract package for this. Provided you have compiled your main file main.tex with the todo notes in it, there will be an auxilliary file main.tdo containing the list of todo's. Now all you need in a second document is to include that file main.tdo. Here is a working set-up:

First: main.tex

Main file




Text.\todo{Something needs doing here.}


Second: todolist.tex

Todo file





share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.