you didn't answer my question
Using Acrobat by using your way can't make each page well-formatted. The point is I need a well-formatted PDF, not just the same format as HTML. The output will be like a nice book. One possible idea is make template for the output pages and let the data subsitute the tags in the template. However, I don't know how to do it. Another way is if there is any software can formatting HTML first before converting to PDF.