Take the 2-minute tour ×
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.

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
    

1 Answer 1

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

\documentclass{article}

\usepackage{todonotes}

\begin{document}

Text.\todo{Something needs doing here.}

\listoftodos
\end{document}

Second: todolist.tex

Todo file

\documentclass{article}

\usepackage{todonotes}

\begin{document}

\input{main.tdo}

\end{document}
share|improve this answer

Your Answer

 
discard

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.