I have a 2,134-page document and need to down-step all of the heading styles (Change all H1s to H2s, H2s to H3s, etc). I played with Find (Paragraph Tag) and Replace (By Pasting) but didn't get the results I was looking for. It replaced the style, but then pulled the paragraph below the heading into the same line as the heading. Is there and cleaner way to swap out paragraph styles? Thanks!
The "FindChangeFormatsBatch" plugin might be exactly what you're looking for. But there's a strategy (correct order of replacements) required for not having only one level of headings left in the end… 😉
Thank you, sir. Looks like you have some extremely helpful plugins. I'll bookmark your page for sure.
Unfortunately, these aren't mine… I've just bought that plugin, too.
@Be.eM means that you have to list them in reverse order so they're processed properly.
If you have H1 through H3, and you need them changed to H2 through H4, it should be listed in this order in the FindChangeFormats file created to map your old to new tag names.
H3 ⮕ H4
H2 ⮕ H3
H1 ⮕ H2
Then add in your new H1.
Also, can confirm that Rick's plugin is amazingly useful.
Yes, of course. I started with the most subordinate heading style. FM is replacing the styles but at the same time, pulling the following paragraph into the heading. Not sure what is causing this behavior. See attached illustration.
I guess this just caused by Heading4 being definied as a run-in Heading. Did you check the paragraph format?
Edit: no, your question is not related to the plugin above, so my answer might be wrong.
I'm not that familiar with run-in headings. Mine is set to "In Column" is this correct?
Yes, this is correct. As I said, you weren't talking about a replacement of paragraph formats via the plugin mentioned above, so my answer is wrong.
However, if you are searching for a complete paragraph, this includes the "return" in the end of the paragraph. Now if you replace this "find" content by whatever you've got in your clipboard by "paste", this "paragraph end" return will probably be replaced, too.
I see. Looks like it will be a manual process in this document. I very much appreciate your insight on this. have a great weekend!
… a manual process, if you don't want to use the plugin. Which is paid after half an hour of manual work or so 😉
A nice weekend to you, too.
I honestly think the FindChangeFormatsBatch will do what you want. There's no Finding or Changing on your part; it directly edits the name of the paragraph tag in the paragraph tag catalog for the document. More than likely this will prevent that concatenation of the two headings shown in your graphic.
@LinSims: I think it just edits the name in the para tag catalog if the target format ("change to") does not yet exist. In Robert's case the target format most likely exists and will just be assigned to the "found" places. This is how I understood the task here…
Anyway, as this might be interesting for @RobertNunemacher too, there are two options in which the plugin works:
The plugin sounds great, but my company has FM pretty locked down. I can't install plugins.
FYI, my software programs are ExtendScript scripts, not dll plugins. They go in the user's startup folder, which is writable for individual FrameMaker users. They don't require you to write to (or edit) any read-only files.
After several failed attempts, I stumbled across the solution:
1. Place the cursor in the paragraph with the style you want to copy.
2. Select Edit > Copy Special > Paragraph Format.
3. Open the Find/Change panel.
4. Select Paragraph Tag: from the Find dropdown menu.
5. Select By Pasting in the Change dropdown menu.
6. Click Find, and then Change. If you get the results you are looking for, be brave and click Change All.