ChapterTitle

 Welcome to Michèle’s ChapterTitle plugin. It replaces a one line chapter title with two lines. Instead of doing

Return to the InDesign Automation page.

For information on other plugins please go back to my InDesign Automation page plugins section.

Return to the InDesign Automation page.

For information on other plugins please go back to my InDesign Automation page plugins section.

By default, chapter titles get displayed on one line. When dealing with numbered chapters, the outcome is something like:

Chapter 7 – Image Processing

I prefer to split the chapter’s title into two parts: the chapter’s number on one line, the chapter’s name on  the next line, as follows:

Chapter 7
Image Processing

The ChapterTitle task cycles through the book’s chapter; it removes the chapter’s name from the first line and adds a new line with it. Since doing so expands text, a potential last page overflow condition may rise. The task checks for this and adds a page if necessary.

Consider the code provided in my book to be minimalist code; it opens the door to customizing new chapter pages.

Please note that the above is provided as a ChapterTitleReadme.txt file in the HOMEDIR/PluginData upon running the plugin. A dialog box displays the HOMEDIR full path.

You will find source code in my book so that you could roll your own ChapterTitle plugin.

For information on other plugins please go back to my InDesign Automation page plugins section.

Return to the InDesign automation page.