I have the main tex which include tex files.
\begin{document}
\include{chap1}
\include{chap2}
\include{chap3}
\include{chap4}
\include{chap5}
\end{document}
How can I make a one pdf without for example chap3. I need macro with which I can make various pdf, without some chapter or with all chapter. Maybe you have any ideas?
Thanks.
\includeonly{chap1,chap2,chap4,chap5}for example will exclude thechap3-- use it in the preamble only. – Nov 10 '15 at 08:28