Overview of Avoid Short End Lines
Avoid Short End Lines keeps a specified number of characters together at the end of every paragraph, and can be configured to include or exclude specific paragraph styles.
How to configure Avoid Short End Lines in a workflow
Avoid Short End Lines is defined in a table in the InDesign template and is implemented by an Event Script. You can find the table on an Avoid Short End Lines master page in the template. If your template does not have the configuration table, see Adding a Configuration Table.
The Avoid Short End Lines script is a SpillEnd event. Your workflow should be configured to run SpillEnd scripts, and the script should be placed in the SpillEnd folder on the InDesign server.
Filling in the table
In the white box, enter the number of characters that should be kept together at the end of a paragraph. The default value is 12.
You can use the table below that in two ways: to exclude styles, or include styles.
- If the majority of paragraph styles should be included in the scope, while a few should be ignored, the first line in the table should be “Exclude” (case-insensitive) followed by a list of paragraph styles to be excluded from the scope.
- If the majority of paragraph styles should be excluded from the scope, while a few should be included, the first line in the table should be “Include” (case-insensitive) followed by a list of paragraph styles to be included in the scope.
- If you want to include all styles in your template, use Exclude and enter the name of a nonexistent style in the table.
Adding a Configuration Table
- Create a new master page in your InDesign template. Name it ‘Avoid Short End Lines’ with whatever prefix your template uses (Z, X, or XC usually).
- Download AvoidShortEndLinesTable.idms (attached below).
- Go to File and then Place.
- Browse to the AvoidShortEndLinesTable.idms
- Paste the snippet on the ‘Avoid Short End Lines’ master page. An ‘Avoid Short End Lines’ layer will be created.