How to add Table of Contents in a PDF?
It's not clear exactly what you are doing (eg are each of your chapters a node?) however you may be able to use the core book module for this. However it sounds like you are going to need something like Views PDF to get the formatting you need.