Script for InDesign Book functions
Hi!
We are setting up a solution on our InDesign 2022 Server that based on a large XML file with "Chapter" elements create an InDesign book with an InDesign document for each chapter.
We are using an IDML template as the base for this work.
The page nubers are updated automatically when for each document, but not the Paragraph numbers. All documents "restarts" at 1.
I'm using a numbering list called "Chapter" for all numbered paragraphs and I have three levels:
X
X.X
X.X.X
Each document can have 2 or more parts on the highest level = 1, 2, ...
So the next document shall start with 3 and so on.
But I have found no way to make this happening just by settings in the IDML template.
My next approach is a script. My intention is to use the "Update numbering/Update chapter and Paragraph numbering" function in the Book panel. But I can't find any info on how to access that by script.
I could really use some tips.
Regards/Jan
