I'm a teacher and using PdfTeX to write my courses. My question is the following : How can I compile my .teX file and generate into Pdf file : the course itself, and one or two excerpts (that I've chosen) of this same document. Typically, I edit the whole course with annotations for myself throughout the whole document but I want to provide my students with portions of it only (AND without annotations) Thank you
Addendum post comments: Let me a little be more specific : Let's assume a document such as :
\begin{document}
\begin{tabular}
Big array
\end{tabular}
\begin{note for self}
here should be done ex 2 p75
\end{note for self}
bla bla bla
\end{document}
Then compilation. Nature of the wanted outputs (.pdf) :
1) Normal (with everything provided in the document) for my personal use.
2) The same document WITHOUT the "note for self". For students use.
3) If possible a third output with the array only. For other students to cut out and stick in their notebook. (in the code i used no made up code because I didn't know how to make a reference to it).
I hope my case is a little bit clearer now.