Possible Duplicate:
How to create individual chapter PDFs
In my LaTeX file, I have
\chapter{chapter one}
\chapter{chapter two}
\chapter{chapter three}
etc.
I wonder if there is a way to create separate PDF files for each chapter, i.e. chapter one.pdf, chapter two.pdf, chapter three.pdf etc. As there are quite a few chapters in my document and they keep changing, separating the chapters manually can prove to be time consuming and ineffective. I am using texlive in Ubuntu. Any help is much appreciated.
\include{<file>}in the main file. Then add\includeonly{<files/chapter you want include>}in the preamble. You need to change this line for every chapter and compile the document again, then rename the PDF. However, I don't know an automatic way. You could write a shell script which automates it for you, if you know how to do it. – Martin Scharrer Jan 01 '12 at 12:21