clean_imported_text
Remove common typography errors in imported InDesign text: double paragraph breaks, line breaks, trailing spaces, wrong dashes, manual formatting, bullet lists, hardcoded chapter numbers. Prepare text for consistent styles.
Instructions
Clean imported text from common typography sins: double paragraph breaks, line breaks instead of paragraphs, trailing spaces, hyphens instead of dashes, manual formatting, bullet lists, hardcoded chapter numbers, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixLists | No | Remove manual bullet lists and dashes | |
| fixDashes | No | Fix hyphens to proper n-dashes for ranges/thoughts | |
| fixSpaces | No | Remove trailing spaces and multiple spaces | |
| pageIndex | No | Page index | |
| frameIndex | No | Text frame index to clean | |
| fixFormatting | No | Remove manual bold/italic (prepare for character styles) | |
| fixParagraphs | No | Fix double paragraph breaks and line breaks | |
| useSelectedFrame | No | Clean currently selected text frame | |
| fixChapterNumbers | No | Remove hardcoded chapter numbers |