About Services Tools Blog Contact us

Structured Copy into a Design File

Rebuilds a design file from structured text, extracted images and an existing brand template, so a long study does not start from empty pages.

  • Print & Page Layout
  • Water utilities
  • Tool
  • Productised
  • Local/private
  • 2025

The problem

Turning a long web study into an Adobe InDesign file meant retyping styles and placing images one by one.

What it does

One script opens an Adobe InDesign template file. A second script drops in the structured text and the images and saves a new file. A person still matches text types to styles and checks the pictures. The scripts work for one study only, until the file locations can be changed.

Outcomes

  • A study starts from the brand template and not from a blank file.
  • The images and the copy arrive together.
  • Style matching is left to a person, and the scripts still need to be made reusable.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Holt Lock study

Structured copy
Brand template
Extracted images 4 files
Reed margin The bend New berm Solids chart

Paths in this run are still the Holt Lock folder. They are not parameters yet.

Eight-page package

Template unpacked. Frames are empty until the copy and images are dropped in.

01
ImageReed margin
HeadingReedbed recovery
Cover · Lock study
02
HeadingThe site
BodyA slow bend. Silt in the middle of the cut.
Section
03
ImageThe bend
Picture
04
HeadingWhat changed
BodyA berm and a wider shelf. Reeds left to return.
Section
05
ImageNew berm
Picture
06
HeadingWater quality
ChartSolids down
Chart
07
HeadingFrom the lab book
FigSolids FigShelf FigSeason
Figures
08
HeadingWhat we learned
BodyOne more winter before the study can close.
Close · Lock study
Template is unpacked

Tag to style

Partial
Handoff Two tags open
TagParagraph styleCheck
titleCover titleMapped
h2Section headMapped
pBodyCheck
imagePicture frameCheck
Still manual

The package is written. A person still maps the open tags and looks at the pictures in the layout. The script will not generalise until the study path is a parameter.

How it works

  1. Open the Adobe InDesign template file.
  2. Read the structured text and the extracted images.
  3. Save a new file with that content in the template.
  4. Match text types to text styles and place the pictures in the open layout.

Pipeline

flowchart LR
  A[Structured copy] --> B[Template package]
  C[Images] --> B
  B --> D[New package]
  D --> E[Style mapping]
  E --> F[Placed study]