Forum How do I...?

How to merge multiple html chapter files in Prince when nested inside a section

jonscrut
Hi,

I've barely started out with Princexml so I may be missing something obvious here...

I am using Prince 9 GUI on Windows.

If I have my chapters or articles in separate html files how would I nest them in their different sections?

In html I would need to open and close the div for the section in a master doc, with all the chapters inside. So do I:

* open the section div in one html file (lets call it section_open.html)
* close the section div in a separate html file (lets call it section_close.html)
* place the files in the following order in Prince for conversion to pdf:

* section_open.html
* chapter1.html
* chapter2.html
* chapter3.html
* section_close.html

Or is there a more sensible way than this?
mikeday
You can't open a tag in one document and have it continue into the next document. If you want each chapter in a separate file, but nested inside a common element, you would need to have a separate process concatenate all the files first before processing it with Prince.