I want to create a book type file, where each chapter is separatly compiled. That is I get the whole thing as well as each individual chapters in pdf or dvi or ps format. How do I do that?
One approach would be to have each chapter in a separate file and then use the
To automate things, what you'd want is a script that does
Without using packages, you could use simply the \input commands:
Write each chapter in a separate file (don't compile these files):
Then write your book as:
Compile this file to get your full book.
To get the separate chapter as articles, you can compile the following file:
If you want them as a book with only one chapter, use the following file. To get the right chapter number, use \setcounter.