Welcome
Welcome to Michèle’s FirstParagraph plugin, designed to add meaning full information to the top of pages: page number, current chapter and last section header.
Return to plugins section. Return to the InDesign Automation page. Return to the Home page.
For information on other plugins please go to my InDesign Automation page plugins section.
General information
Plugin name: FirstParagraph
Version: 1.0.0 – 8/18/26
Fee: Free
Availability: Adobe Marketplace
Status: Not yet published
Source code in book: Adobe InDesign Automation of Nonfiction Books via JavaScript
Requirements
The FirstParagraph plugin’s algorithm relies on a Regular Paragraph paragraph style, a First Paragraph paragraph style and a Drop-Caps character style.
. DSL – CHAR drop caps
- The Regular Paragraph paragraph style named DSL – DFLT base has has settings according to what the user wants his/her regular paragraphs to look like.
- First Paragraph paragraph style named DSL – DFLT first paragraph is a regular paragraph except that its drop-caps section has been activated. Its drop-cap settings should be whatever he InDesign user deems best. Its General Based On setting points to the DSL – DFLT base.
- The Drop-Caps character style named DSL – CHAR drop caps defines what the highlighted drop-cap should look like. It is used by the DSL – DFLT first paragraph paragraph style in its drop-caps settings.
Restrictions The names of the three styles above are hard coded. They will be customizable in a future version of this plugin.
What it does
The FirstParagraph plugin cycles through the book to set a drop-caps on the first paragraph of a chapter. It does so by applying the DSL – DFLT first paragraph format on the chapter’s first paragraph. It also cycles through the rest of the book to ensure that the drop-caps format has not been applied to other paragraphs.
Running this plugin requires that the InDesign user should define a Paragraph Style named DSL – DFLT first paragraph.
Please note that a dialog box displays the HOMEDIR full path to enable the plugin user find the IndexesReadme.txt file.
For more information
You will find source code in my InDesign automation book so that you could roll your own ImageProcessing plugin.
For information on other plugins please go back to my InDesign Automation page plugins section.
Return to the InDesign automation page.