Strategies for Books Layout automation
Hello folks,
Why this post?
I'm interested in knowing some of your experience about layout automation. Obviously the good ideas, but also the bad ones (like don't go this way, it's a waste of time) and some possible new areas to be explored.
Let's be honest, I'm not a pro at scripting, by far, but I'm eager to learn. That's a start I guess.
I understand that a good scripter should not only know the coding part, but also apply the best strategy to get to his goal. I believe it's rather easy to write "some" code that works (oversimplified, I know) it's another story to "know what to write" and understand what are the best tools and the structure that should be put in place.
That's why I'm asking you. For pieces of advice, respectfully.
What is my project about?
I'd like to build routines and scripts to give me a hand at making layouts of books of hundreds of pages.
The end game is not to have something 100% automated, but rather a tool box and a routine that can help speeding up the layout process, saving time, saving costs etc.
I've got in my hands :
- 1. A word file. Text is tagged and has already some styles set up. Tags encapsulate the mains sections.
- 2. A "template", being an indesign file with all the design (Masters / graphics / Styles etc.)
- 3. No urgency. Time is at my side. No stress here… but I won't sleep until it's done…
My understanding so far
- I can not hope to make magic out of Extendscripts only.
- Indesign servers are meant to achieve such things. But cheap solutions are of the essence. It's a no go then.
- Plugins and C++ coding could help me at some point. That goes deeper in ID objects management. I'm not afraid of going there if really needed (ignorance is bliss, isn't it?)
- I need better understanding of how I can handle objects in ID via scripting
- UXP scripting for ID is still lagging behind in terms of possibilities compare to Extendscript (so far, in 2025)
- IdExtenso could help me out and I need to get to know it more.
- No Data merge tools are relevant here. No variables are needed.
- Typefi free tools for textframe adjustments will be helpful (https://www.typefi.com/autofit/)
My questions
- What is the main strategy I should focus on?
- Can I aplpy Masters based on content, then cut texts, place Textframes in specific positions?
- Can I place a picture based on a tagged text with (name of picture), and create a strategy of position depending of the dimensions / ratio HxL of the pic?
- Is it possible to adjust the textframes depending of the Master applied, after the text has been deployed?
My current focus.
- Scripts for cleaning the text
- Interpreting/ changing Word styles to ID ones.
- Creating formating rules to apply ID styles to specific paragraphs
- creating side scripts that serve as tools for complex local formating that can't be done on a large scale
Thanks for you patience and to the ones that would be happy talking about that topic
Fred.L
