I've set up some paragraph styles for the the headings in a new document I'm working on. I've used the lists feature (within bullets and numbering) so that when I style a heading the correct numbering will appear. For example:
1. First level heading
1.1 Second level heading
1.1.1 Third level heading
Now that this is set up correctly, I wanted to use text variables so that the numbering for each second level heading appears in the footer. So in the above example 1.1 should appear in the footer.
To set this up, I followed these steps:
When I did this, the content of the second level heading got inserted into the footer, ie. "Second level heading" (in the above example). The number 1.1 didn't get inserted at all. I'm assuming that this is because the numbering in the headings is automatic because if I right-click on a second level heading and choose "convert numbering to text" then it works by inserting 1.1.
When I set up the numbering for the second level heading the following is what was in the number field:
So I'm just wondering whether there's a workaround for this? Can I force the numbering into the footer as I'd planned while still keeping the numbering automatic?
Really appreciate any advice offered.
Are the scond level headings defined as their own paragraph style? I think you should be using Running Header (paragraph Style) variables rather than character style, and you should have the option of whether or not to include the number.
Yeah the second level headings have their own para style. I just tried switching from running head (char style) to para style but I couldn't see any option to include the number.
Can you let me know where this is?
Thanks for the help.
Built in headers can not do this even via scripting. You can script a custom solution, but that's non-trivial.
FWIW, Power Headers can do this. (There's an option to include paragraph bullets or numbers.)