|
Nested styles change things dramatically. Experimenting consists of typing a character where you want No Break to start, and if you don’t like the result you can simply Undo and type the character again somewhere else.
This is quite a departure for nested styles which superficially seem to work on the beginning of paragraphs, a kind of super-drop-cap facility that lets you do run-in heads or format bullets or numbered lists.
Let’s walk through the setup. First, we need a character style to apply No Break for us. I call the style “No Break,” thus:
Next we add two nested styles to our Body paragraph style:

The first nested style does nothing until an “End Nested Style Here” character is encountered. This means that if there is not such a character in the paragraph, then these nested styles do nothing at all. That’s important because we don’t want to have to apply a different paragraph style to the troublesome paragraphs; the idea is to apply a single style to all similar paragraphs and only use this derunting procedure on paragraphs that need it.
There’s one more step before we’re ready to rock-and-roll. To activate this style, we need to insert the “End Nested Style Here” character into the text. That can be done using the contextual menu, but anticipating that we’re going to use this feature a lot, it’s sensible to assign a keyboard shortcut to the character.
Maybe the Adobe engineers don’t consider this a bug, but why is it called “End Nested Style Character” in the Paragraph Style dialogs, but “End Nested Style Here” in the contextual menu and Type menu?
Call up the Keyboard Shortcuts editor from the Edit menu and then choose the Type Menu panel:

On my Macintosh, Ctrl+\ seemed like a good choice, particularly in view of the character used to represent it when Show Hidden Characters is activated:
|