EasyCatalog

Composition Plans

Create layouts from your page designs, control how content continues, and check the result before publishing.

Containers panelHTML reports

1. Choose a workflow

A composition plan describes which designs to populate, which records or groups to use, and how the results fit and continue through a layout. EasyCatalog stores the instructions as JSON. You can generate a starting plan from artwork or import an authored plan.

Your starting pointUse this workflow
Page items and linked prototypesUse Create Composition Plan from Selection... in the Composition Plan (Beta) submenu. EasyCatalog creates formatting rules and a new plan container.
Designs on master (parent) pagesReference the artwork in a masterPage section. See Use master-page artwork.
An existing regular containerUse Convert to Composition Plan to store a plan on that container’s thread.
A supplied or AI-authored JSON planPaste the JSON into Edit Composition Plan... on a container, then populate it with the selected data.

Open the Containers panel menu and choose Composition Plan (Beta) to see the plan commands. Review the generated plan and its populated output, particularly continuation pages. Requires functional EasyCatalog Pagination and Scripting modules. Without a functional Scripting module, composition commands are disabled. Existing plans remain stored; ordinary container controls remain available.

To try the composition-plan sample scripts, choose Window → Utilities → Scripts → Install/Update EasyCatalog Sample Scripts in InDesign. Then open EasyCatalog Sample Scripts → Composition Plans in the Scripts panel. See the examples for the scripts and sample layouts.

2. Create a plan from artwork

  1. Prepare the prototypes. Design the heading, text, table or product card using linked EasyCatalog fields. Set its intended once-per-record or once-per-group usage.
  2. Set fitting and relationships. Use the Containers panel settings described below. Link multiple prototypes in their intended vertical order using edge relationships.
  3. Select the complete design. Include the body items and any separate continuation header. A single item does not need an edge relationship.
  4. Choose Create Composition Plan from Selection... from the Composition Plan (Beta) submenu.
  5. Populate the newly selected plan container with the intended EasyCatalog data. Use Check Composition Plan... to inspect a trial result.

What conversion creates

The original artwork stays in place. EasyCatalog creates a formatting rule for each captured item and a plan container with the combined selection's width and height. It places the container 24 pt left and 24 pt down from the selection's top-left, then selects the container. Names include the section type, for example Plan table or Plan textFrame; if those names already exist, one prompt offers to overwrite them or create new rules for the whole conversion. Creating new rules adds numeric suffixes.

Selection requirements

  • Items must not already be tagged as formatting rules. This command creates their rules.
  • Multiple body items must form one valid vertical chain. Include the connected items; disconnected chains, unsupported branches and broken links are rejected.
  • Container thread links are not supported during this conversion, including links on descendants. These are different from the edge relationships that describe the prototype layout.
  • Use a supported table-only frame for table conversion. Extra story content or unsupported table structures can prevent conversion.

Conversion captures the design settings at that time. Changes to the original prototypes do not rewrite the generated plan; convert again or edit the plan to change its instructions.

Undo removes the generated container and newly embedded rules. Rules saved to an external library can remain after Undo and may need manual cleanup.

Use master-page artwork

Place one top-level item on each source master (parent) page. In the plan JSON, add a masterPage section with the exact master spread name and the one-based page index. Put the sections in the order the artwork should appear.

See the Data Sheet Pagination Guide for a worked example and the JSON reference for margin and spacing options.

3. Set fitting and keeps

The Containers panel exposes these controls for selected page items as well as containers. Set them on the prototypes before creating the plan.

ControlEffect in the converted plan
Horizontal Auto-FitAllows the section to resize horizontally, subject to its width limits and section type.
Vertical Auto-FitAllows the section to resize vertically to its populated content, subject to its height limits.
Minimum / maximum width and heightCarry the permitted dimensions into the plan. Explicit nonzero limits constrain fitting. Zero values do not impose a positive size limit.
ThreadableAllows supported content to continue. For a text-frame section, turning it off requires the text to fit completely in one area within its limits; it can move to a fresh area, but cannot split across areas. If it still cannot fit, the plan reports an error.
Keep With NextKeeps the section with the start of the following content. A heading can stay with the first part of a table while that table continues into later areas. It does not require the entire next section to fit beside the heading.

How an item becomes a section

A supported table becomes a table section. An authored EasyCatalog container becomes a template-container section. A plain text frame with Threadable, either Auto-Fit option, or frame-to-content fitting enabled becomes a text-frame section. Vertical fitting in the formatting rule implies vertical Auto-Fit and threadable text, with its fitting height limits carried into the plan; other items become formatting-rule sections. Image/card prototypes set to once per record are repeated for the records in their current group.

Spacing

A non-negative vertical gap between prototypes becomes space after the preceding item. For a heading with nested group content, its gap is also carried to the end of the completed group. This preserves separation between, for example, Accessories and Dispensers after all the Accessories content has finished.

For finer control, edit spaceBefore and spaceAfter in the plan. These values are in points. spaceBeforeAtAreaStart: "suppress" removes a section’s leading space when it starts in an empty area; it does not remove header spacing or gutters. These are JSON options, not additional panel fields.

4. Groups, repeating headers and columns

Nested groups

Arrange group prototypes from outer to inner: Category1, then Category2, then Category3. The converter uses the named groups and their order to create nested flows. Records below a group heading use that group’s data.

For consecutive linked items using the same named group, conversion asks how to represent them unless an explicit continuation-header link already defines the role. Choose Group header to make the first item repeat above all following items in that consecutive same-group sequence, or Flow content to keep all items in body order. The existing Keep with next setting remains independent. With three or more consecutive items at the same group level, a second question lets you make the last item a Group footer, shown after the group finishes, or leave it as Flow content. Header and footer choices are independent. If the final body item has Keep with next, conversion transfers that relationship to the footer as Keep with previous. Empty continuation frames do not satisfy the requirement to keep a header with visible body content.

Repeat a header

A horizontal edge relationship to a separate continuation prototype defines an alternative header, such as “Accessories Continued”. Select both prototypes. The original appears in the first area; the continuation variant appears in subsequent areas for that group.

A horizontal self-link repeats the same header. A header needs following body content; it is not a stand-alone repeating page decoration.

Generated repetition normally follows areas, which may be columns or containers. To repeat only when the flow reaches a new physical page or spread, edit its header’s repeat to "every page" or "every spread". There is no dedicated repeat-policy selector in the panel.

Full-width headings above columns

On a page with equal columns, a page-wide heading followed by column-width items can generate a full-width header with a column layout underneath. The converter reads the page’s column count and gutter. If a second heading is also full width, the column split occurs below that heading instead.

Converted multi-column bodies balance their final area and trim trailing descendant spacing. Their containing flow’s own spaceAfter controls the gap before the next group. Unequal custom columns are not inferred from this arrangement.

Flow across a wide container

For a uniform-width vertical chain with a separate continuation header to its right, the converter can use the original chain width as the column width and the horizontal gap to that header as the gutter. Widening the plan container then allows more complete columns to fit. A self-link alone does not provide a gutter for this inference.

Cards across, then down

Supported narrow image/card prototypes can generate left-to-right wrapping, both on their own and below a full-width group heading. The inferred horizontal and vertical gutters start at zero; edit the plan to add card spacing. Text stories, tables and mixed multi-item groups are not automatically treated as card grids.

5. Work with a plan container

Edit Composition Plan...

Select one container and choose this command to view or edit its stored JSON. A linked container uses the plan stored on the thread head. Accepting the editor saves the text; use Check to test it before relying on the output.

Populate, resize and continue

Populate the plan container with EasyCatalog data using the normal container workflow. Its bounds provide the available layout area. A resize triggers recomposition using the saved input. A threadable plan container can continue into linked containers; automatic page or spread creation requires the relevant continuation instructions in the plan.

The container’s plan-tree display helps you see threads, header regions, body regions and nested sections. A remaining-content or overset indicator means that the current container has not accommodated everything. If a text frame grows beyond the available container area, that attempt is rolled back and its records remain pending as overset. Make the container deeper or provide a suitable linked container to retry the content. Threadable tables can split between rows across available areas. If a later continuation cannot fit, completed tables and committed fragments remain in place; the remaining rows stay pending for a suitable continuation area. An undersized first container can remain empty while pending content continues into a larger linked container; its size alone is not an impossible-fit error. This also applies when headers or spacing leave no room for the flow body; provisional content is rolled back and retried with the pending body. Non-threadable text-frame sections move intact to a suitable linked container; they do not split across containers.

Use Legacy Composition and Generate Container Report... are disabled for containers with a composition plan, including linked continuation containers and mixed selections containing a plan container. Plans use the current composition engine.

New plans generated by conversion or Create Composition Plan from Selection default to onEmpty: "omit". Existing plans are unchanged. For optional template-container sections, set onEmpty to omit to remove containers that produce no actual content, including their occupied layout space. Assigned records alone do not count as output. Use retain to keep empty shells or error to report unexpected empty output. Pending overset content is preserved for continuation.

Convert to Composition Plan

Select one regular EasyCatalog container with a content formatting rule. This separate command stores a generated plan on its thread head, using the existing rule, fill direction, gutters and supported alignment settings. It supports once-per-record and once-per-group usage. The converter temporarily creates an unpopulated instance of the rule and uses the same item inspection as Create from Selection to choose table, text-frame, template-container or formatting-rule sections. Fitting flags, initial dimensions and minimum/maximum sizes come from the inspected prototypes. For table body rows set to Record, inactive group-placement settings are ignored, including settings retained after switching from Group to Record. Linked prototypes are captured as separate rules so their group headers, continuation variants and width-based layout can be converted. A uniform vertical design with a separate continuation header uses the prototype width as column width and the horizontal gap as gutter. Mixed full-width and single-column prototypes use the target container’s width and its page’s column settings. The temporary artwork is removed; the original rule is retained. Already converted plans, balanced containers and text-flow containers are rejected by this beta converter.

A text section marked Threadable can link across multiple containers, continuing its text in the next linked container. If the text section is not threadable, its complete content must fit in a single container; it can move intact to a larger linked container but cannot split across them. The section’s Threadable setting is separate from the outer container’s Threadable setting.

When two linked items share a group and no explicit continuation header identifies their role, conversion asks whether the first item should be a Group header (repeated on each area) or whether all should remain Flow content. Flow content is the default. Keep with next is preserved independently. This choice also applies when creating a plan from selected items.

Conversion stores the plan; populate the container afterwards to exercise it. Use a copy of the original container when comparing the two workflows.

6. Check and troubleshoot

Check Composition Plan...

Select a plan container and choose this command from the Composition Plan (Beta) submenu. It validates the plan, resolves its input and rules, and performs a bounded layout trial. Temporary trial output is rolled back before the HTML report opens.

Check uses the current EasyCatalog data selection when available; otherwise it uses the container’s saved input. An unpopulated container needs a selection. The report shows the input used, layout geometry, formatting rules, fit results and diagnostics.

A successful check with remaining content is not a complete catalogue. It means the bounded trial succeeded. Inspect continuation areas and final output as well. The former Explain command is covered by Check; it is not a separate menu step.

Troubleshooting a plan container

What you seeWhat to check
Formatting rule not foundCheck the exact asset name and that the rule is available to this document and pagination operation.
Cannot fit in an empty areaCompare the item’s size and limits with the available area. Check Threadable, Auto-Fit and keep settings.
Only one record or groupCheck prototype usage, generated selectors and the data selected for population. Regenerate older conversions if their instructions do not contain the intended repetition.
Unexpected gapCheck the preceding section and enclosing group’s space-after values, header spacing, gutters and the item’s own geometry.
Cannot convert the selectionCheck existing formatting-rule tags, missing relationship endpoints, unselected connected prototypes and container thread links.
Command unavailableConfirm the required modules are available, a document is open and the required selection is present. Manifest export also requires selected EasyCatalog data.

7. Use an AI authoring tool

The Pagination module provides the manifest export command. It becomes available when the Scripting module is functional, a document is open and the active Data View has a selection.

  1. Open the target document and select representative EasyCatalog data.
  2. Choose Reports → Composition and Scripting Manifest… from the EasyCatalog Data View panel menu and save the file.
  3. Provide the manifest to your AI tool with a description of the layout you want. Ask for a composition-plan JSON document using the supplied field and formatting-rule names.
  4. Paste the returned JSON into Edit Composition Plan... for a container.
  5. Check and populate the container, and inspect initial and continuation pages.

The manifest describes the composition grammar, selected fields, formatting rules and document resources. It also includes the current build’s scripting API reference and instructions for retrieving hosted sample scripts. It is a reference for authoring, not a plan to import directly. Export it again when those resources change. The export command saves a local file; it does not contact an AI service or send the file anywhere.

Command reference

In the Containers panel menu, open Composition Plan (Beta).

CommandPurpose
Edit Composition Plan...Edit the selected container thread’s JSON.
Save Composition Plan...Export the selected container thread’s stored plan as a UTF-8 JSON file. This exports the plan only; its formatting-rule assets must also be available.
Convert to Composition PlanConvert a supported regular container using its existing content rule.
Create Composition Plan from Selection...Capture untagged prototypes as rules, create a plan container 24 pt left and 24 pt down from their combined top-left, and select it.
Check Composition Plan...Run a rollback layout trial and open a report.

Submenu name by language

InDesign languageSubmenu
DutchCompositieplan (Bèta)
EnglishComposition Plan (Beta)
FrenchPlan de composition (Bêta)
GermanKompositionsplan (Beta)
ItalianPiano di composizione (Beta)
Japaneseコンポジションプラン(ベータ版)
Portuguese (Brazil)Plano de composição (Beta)
Simplified Chinese排版计划(测试版)
SpanishPlan de composición (Beta)